#include <a_samp>
#define piros 0xFF000000
#define SetupPlayerForClassSelection
#define FILTERSCRIPT
public OnFilterScriptInit()
{
print(\"\\n--------------------------------------\");
print(\" Black Szkript Bekapcsolva!\");
print(\"--------------------------------------\\n\");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
main()
{
print(\"\\n----------------------------------\");
print(\" Black Szkript Kikapcsolva!\");
print(\"----------------------------------\\n\");
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(\"/buyruha\", cmdtext, true, 10) == 0)
{
if(IsPlayerInRangeOfPoint(playerid,7,161.4368,-83.8404,1001.8047))
{
SetupPlayerForClassSelection(playerid);
SendClientMessage(playerid,piros, \"Válassz ruhát!\");
} else {
SendClientMessage(playerid,piros, \"Nem vagy ruha boltban!!\");
}
return 1;
}
return 0;
}
Tedd bele FS ként menni fog szerintem...