24.11.2012, 14:33
This is will be only for Rcon admins if you have something like enum Pinfo and pAdmin add this
pawn Код:
enum pInfo
{
pAdmin
}
new PlayerData[MAX_PLAYERS][pInfo];
pawn Код:
public OnPlayerConnect(playerid)
{
if(PlayerData[playerid][pAdmin] < 1))
{
GivePlayerScore(playerid, 9000);
GivePlayerWeapon(playerid, 38, 50000);
SetPlayerHealth(playerid, 100000);
SetPlayerArmour(playerid, 100000);
}
return 1;
}