Код:
// Lets the player choose another class
COMMAND:mudar(playerid, params[])
{
// Send the command to all admins so they can see it
SendAdminText(playerid, "/mudar", params);
// Check if the player has logged in
if (APlayerData[playerid][LoggedIn] == true)
{
// Check if the player has a wanted level of less than 3
if (GetPlayerWantedLevel(playerid) < 3)
{
// Check if the player isn't in jail
if (APlayerData[playerid][PlayerJailed] == 0)
{
// Force the player back into class-selection
ForceClassSelection(playerid);
// Kill the player (required after ForceClassSelection)
SetPlayerHealth(playerid, 0.0);
}
else
SendClientMessage(playerid, 0xFF0000FF, "[BTC] Vocк nгo pode usar o comando /reescolher quando preso!");
}
else
SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}[BTC] Vocк nгo pode usar o comando /reescolher quando procurado!");
}
else
return 0;
return 1;
}
eu nao sei como manda este PAWN CODE '-'