Vehicle ownership
#1

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?
Reply
#2

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)