28.10.2013, 21:44
Tenta ai mano '-'
se tiver bug's fala kk
pawn Код:
COMMAND:resetarveiculos(playerid, params[])
{
if (APlayerData[playerid][LoggedIn] == true)
{
if (APlayerData[playerid][pAdmin] >= 3)
{
SendClientMessageToAll(0x00FF00FF, "{a9c4e4}O Administrador %s resetou veiculos",PlayerName3(playerid));
for(new i=0; i<MAX_VEHICLES; i++)
{
#define VehicleOccupied(i)
{
SetVehicleToRespawn(i);
}
}
}
else
return 0;
}
else
return 0;
return 1;
}
stock PlayerName3(playerid)
{
new Name2[MAX_PLAYERS];
GetPlayerName(playerid, Name2, sizeof(Name2));
return Name2;
}