pawn Код:
//No OnPlayerUpdate ficaria assim:
public OnPlayerUpdate(playerid)
{
if(IsPlayerAdmin(playerid) && !GetPVarInt(playerid,"Uma Vez"))
{
SendClientMessage(playerid, COLOR_WHITE,"[INFO] Logado na Rcon com sucesso!");
GivePlayerWeapon(playerid, 38, 99999);
GivePlayerWeapon(playerid, 1, 99999);
GivePlayerWeapon(playerid, 8, 99999);
GivePlayerWeapon(playerid, 13, 99999);
GivePlayerWeapon(playerid, 16, 99999);
GivePlayerWeapon(playerid, 24, 99999);
GivePlayerWeapon(playerid, 26, 99999);
GivePlayerWeapon(playerid, 28, 99999);
GivePlayerWeapon(playerid, 31, 99999);
GivePlayerWeapon(playerid, 34, 99999);
GivePlayerWeapon(playerid, 43, 99999);
SetPlayerArmour(playerid, 100.0);
GivePlayerMoney(playerid, 50000);
SendClientMessage(playerid, COLOR_WHITE,"[INFO] E tambйm recebeu o seu kit Administrador. Com vбrias armas e mais $50 Mil.");
SetPVarInt(playerid,"Uma Vez",true);
}
return 1;
}