[HELP] Respawncars Command
#3

Quote:
Originally Posted by Gustavo_Araujo
Посмотреть сообщение
pawn Код:
stock IsVehicleOccupied(vehicleid)
{
  for(new i = 0; i < MAX_PLAYERS; i++) {
    if(IsPlayerInVehicle(i, vehicleid) && GetPlayerState(i) == PLAYER_STATE_DRIVER) return 1;
  }
  return 0;
}

stock GetPlayerNameEx(playerid)
{
     new Name[24];
     GetPlayerName(playerid,Name,24);
     return Name;
}
Now it works, thank you! +rep
Reply


Messages In This Thread
[HELP] Respawncars Command - by martin3644 - 15.01.2013, 21:38
Re: [HELP] Respawncars Command - by Dolby - 15.01.2013, 21:50
Re: [HELP] Respawncars Command - by martin3644 - 15.01.2013, 21:52

Forum Jump:


Users browsing this thread: 1 Guest(s)