[HELP!] OnPlayerConnect Check If Player Is Admin!
#4

Quote:
Originally Posted by RenSoprano
Посмотреть сообщение
This is will be only for Rcon admins if you have something like enum Pinfo and pAdmin add this

pawn Код:
public OnPlayerConnect(playerid)
{
      if(PlayerData[playerid][pAdmin] < 1))
      {
            GivePlayerScore(playerid, 9000);
            GivePlayerWeapon(playerid, 38, 50000);
            SetPlayerHealth(playerid, 100000);
            SetPlayerArmour(playerid, 100000);
       }
       return 1;
}
Good copy from PPC_Trucking files , but this wont work , because he will have to define pAdmin and for this will be required PPC_Trucking script files , includes etc -.-'
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)