31.07.2017, 17:10
Quote:
https://sampwiki.blast.hk/wiki/Debugging
You can see if OnPlayerUpdate is returning 0 by scrolling to the bottom where the callback ends and seeing what it returns. |
But now, i have a little problem in + at this mingame. After the minigame will spawn the players in their vehicles sometimes they put the player in vehicle and after 1-2 sec they remove the players from vehicle and they lose the mingame, what can be ? Sometimes happens sometimes not. Sometimes to 5-6 players sometimes just to 1 player. I think is something with the "CreateVehicle" or with "PutPlayerInVehicle" IDK. I create the derby vehicles on public "OnGameModeInit" and the map too, and when a player will join the minigame the vehicles are already there, but he is not in a vehicle till the derby timer end. Then the player will be spawned in his slot derby vehicle, but how i said there sometimes it's a problem because sometimes the player is spawned corectly in the vehicle, and sometimes after 1-2 seconds he is removed from the vehicle. Thanks anyway if u can help me with this too it will be very great.. i'm really gratefull to you all guys.