[Ajuda] Ajuda com CallRemoteFuncion
#6

bem no gamemode coloca assim:
pawn Код:
forward GetAdminLevel(playerid);
public GetAdminLevel(playerid)
    return APlayerData[playerid][PlayerLevel];
quando for usar use assim, exemplo:

pawn Код:
if(CallRemoteFunction("GetAdminLevel","i",playerid) < 3) return SendClientMessage(playerid, -1, "[ERRO] Vocк nгo estб autorizado a usar este comando!");
Reply


Messages In This Thread
Ajuda com CallRemoteFuncion - by Luucass - 06.06.2014, 14:09
Re: Ajuda com CallRemoteFuncion - by PT - 06.06.2014, 14:18
Re: Ajuda com CallRemoteFuncion - by Luucass - 06.06.2014, 14:30
Re: Ajuda com CallRemoteFuncion - by gR92 - 06.06.2014, 18:14
Re: Ajuda com CallRemoteFuncion - by Luucass - 06.06.2014, 20:16
Re: Ajuda com CallRemoteFuncion - by PT - 06.06.2014, 20:23
Re: Ajuda com CallRemoteFuncion - by Luucass - 06.06.2014, 21:09
Re: Ajuda com CallRemoteFuncion - by ScripterInicianteBR - 06.06.2014, 21:22
Re: Ajuda com CallRemoteFuncion - by Luucass - 07.06.2014, 01:24
Re: Ajuda com CallRemoteFuncion - by Luucass - 07.06.2014, 15:11

Forum Jump:


Users browsing this thread: 1 Guest(s)