Posts: 2,203
Threads: 154
Joined: Oct 2009
Reputation:
0
Ok i whona start vehicle ownership system and i have question
What is best way to detect vehicle owner and does player got keys from car?
Posts: 124
Threads: 32
Joined: Oct 2010
Reputation:
0
Well try something like this
new carid = CreateVehicle(model, X, Y, Z, A, color1, color2, 62*120000);
the carid its the keys , when someone buy the car you just need to make something like this
playerinfo[playerid][key1] = carid;
then you just need make checks for everything in your script and i can gurante the keys will match