OnPlayerStateChange problem
#5

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.
Reply


Messages In This Thread
OnPlayerStateChange problem - by grand.Theft.Otto - 13.05.2011, 01:55
Re: OnPlayerStateChange problem - by ViperSniper - 13.05.2011, 02:18
Re: OnPlayerStateChange problem - by Donya - 13.05.2011, 02:44
Re: OnPlayerStateChange problem - by Infamous - 13.05.2011, 03:07
Re: OnPlayerStateChange problem - by ViperSniper - 13.05.2011, 03:49

Forum Jump:


Users browsing this thread: 1 Guest(s)