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