pawn Код:
// This command allows you to change your password for logging in
COMMAND:rc(playerid, params[])
{
SendAdminText(playerid, "/rc", params);
if (APlayerData[playerid][LoggedIn] == true && APlayerData[playerid][PlayerLevel] >= 2)
{
SendClientMessageToAll(0x00FF00FF, "Todos os veнculos foram resetados pelo admin");
for(new i=0; i<MAX_VEHICLES; i++)
SetVehicleToRespawn(i);
}
return 1;
}