Per-player vehicles - Id's get mixed up (Car stealing problem)
#7

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
Player 0 spawns a car, and have it saved in his "spawnedcarid".
We're all good for now.

Player 1 Spawns his car, destroys id 0's car, and creates id 0's "spawnedcarid". (Aka; car is stolen)
If player 1's vehicle is destroyed, then why don't you reset their variable since their car is gone?
Hmm you got a point.

But why would that happen? When that is the only place I physically use "Destroyvehicle" on AccInfo[playerid][SpawnedCarID] ?

Or are there other places, in the server, that happens?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)