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