Quote:
Originally Posted by Sunehildeep
PHP код:
CMD:eventuri(playerid)
{
if(gLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_WHITE, "Trebuie sa fi pe server inainte sa folosesti aceasta comanda.");
if(PlayerInfo[playerid][pAdmin] >= 1) return SendClientMessage(playerid, COLOR_WHITE, "Nu ai gradul necesar pentru a folosi aceasta comanda.");
if(OwnerEvent[playerid] == 1)
{
return SendClientMessage(playerid, COLOR_WHITE, "Nu poti folosi aceasta comanda deoarece nu esti persoana ce a creat Event-ul.");
}
else
{
ShowPlayerDialog(playerid,DIALOG_EVENTURI,DIALOG_STYLE_LIST, "Event Info: Comenzi Event", "Deagle\nCurse\nUltima masina ramasa\nRazboi cu molotov\nAcorda premiu", "Select","Exit");
}
return 1;
}
|
it's still not working, first time i use it works after i select Deagle as example , and then use /eventuri again it say's i am not the owner