Quote:
Originally Posted by Infamous
That is the vehicle model rather than the script ID for the vehicle.
This would be better practice if you wish to get the vehicle model:
pawn Код:
if ( GetVehicleModel ( GetPlayerVehicleID ( playerid ) ) == 598 )
@grand.Theft.Otto, rather than respawning the player why don't you set their position after they have been disqualified?
|
Yes, you are right, I blanked the fact he was trying to use the Vehicle Slot as Vehicle Model and fixed the main problem, thanks for pointing this out.
I believe calling SpawnPlayer(playerid) takes them back to where they would go on death or login.