ID detect
#1

ok guys i have this
pawn Код:
if(strcmp("/giveviprights", cmdtext, true, 10) == 0)
    {
        if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0x0000000, "You cant use this command.");
       
        return 1;
    }
i need to make to detect the id of the player and give him rights to vip can some one help me with that....
and after i need to make the rights save in some file and when he connect again in the server to have the same rights...
hope u understand me...
Thanks.

pawn Код:
ZCMD:giveplayerrights(playerid, params[])
{
    if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0x0000000, "You can't use this command.");
    return 1;
}
please some one help me i stop here and cant go ahead.. :/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)