[Ajuda] OnPlayerRequestClass
#3

pawn Код:
public OnPlayerRequestClass(playerid,classid)
{
    if(classid == 3 && !IsPlayerAdmin(playerid))
    {
        SendClientMessage(playerid,COLOR_GREEN,"This skin is only for admins!");
        return 0;
    }
    return 1;
}
olha este code acima da wiki

agr e simplesmente salvar o classid
Reply


Messages In This Thread
OnPlayerRequestClass - by VeNuZ_ - 14.09.2013, 19:03
Respuesta: OnPlayerRequestClass - by ViniKuliveguisky - 14.09.2013, 19:49
Re: OnPlayerRequestClass - by PT - 14.09.2013, 19:53
Re: OnPlayerRequestClass - by VeNuZ_ - 15.09.2013, 09:02

Forum Jump:


Users browsing this thread: 1 Guest(s)