27.01.2013, 16:16
(
Последний раз редактировалось shoaib_sait; 29.01.2013 в 17:00.
)
I GOT THSI ERROR IN ZCMD
this is the error : if(IsVehicleEmpty(vid))
undefined symbol
pawn Код:
CMD:respawnall(playerid,params[])
{
// Check if the player has logged in
if (APlayerData[playerid][LoggedIn] == true)
{
if(APlayerData[playerid][PlayerLevel] >= 3)
{
for(new vid = 1; vid <= 1999; vid++)
{
if(IsVehicleEmpty(vid)) SetVehicleToRespawn(vid);
}
SendClientMessageToAll(0x00FF00FF, "All vehicles have been used by the staff respawn");
}
else
return 0;
}
else
return 0;
return 1;
}
this is the error : if(IsVehicleEmpty(vid))
undefined symbol