onplayerentervehicle
#7

I agree with MP2, why would you check it under OnPlayerUpdate, when OnPlayerEnterVehicle is available? Instead of making the server constantly check if he's in that vehicle, and if his score is more than 5000, he can just check the moment he enters the vehicle.

My guess is that when you set someones score, you use "SetPlayerScore" without setting the pInfo[playerid][Scores]. I'd do like MP2 said. Use SetPlayerScore and GetPlayerScore.
Reply


Messages In This Thread
onplayerentervehicle - by Extraordinariness - 19.03.2014, 13:15
Re: onplayerentervehicle - by MP2 - 19.03.2014, 13:19
Re: onplayerentervehicle - by Extraordinariness - 19.03.2014, 13:22
Re: onplayerentervehicle - by MP2 - 19.03.2014, 13:29
Re: onplayerentervehicle - by VishvaJeet - 19.03.2014, 13:45
Re: onplayerentervehicle - by MP2 - 19.03.2014, 13:48
Re: onplayerentervehicle - by Knappen - 19.03.2014, 15:58

Forum Jump:


Users browsing this thread: 3 Guest(s)