09.11.2009, 15:13
Hey,
I'll give you the details:
With my registersystem there will be created a file with the name of the player.
In that file are things like;
vehmodel
vehx
vehy
vehz
locked
There will be created on login a car named:
owncar[playerid] = CreateVehicle(vehmodel[playerid],vehx[playerid],vehy[playerid],vehz[playerid], 0, 0, 60);
But how can I make that if someone tries to get in that car that if locked == 1 you get kicked out of it?
And how can you check that?
Thanks alot
I'll give you the details:
With my registersystem there will be created a file with the name of the player.
In that file are things like;
vehmodel
vehx
vehy
vehz
locked
There will be created on login a car named:
owncar[playerid] = CreateVehicle(vehmodel[playerid],vehx[playerid],vehy[playerid],vehz[playerid], 0, 0, 60);
But how can I make that if someone tries to get in that car that if locked == 1 you get kicked out of it?
And how can you check that?
Thanks alot