07.08.2009, 19:25
I am trying to carry the carid of the car i am creating, although when i am using Destroyvehicle and trying to lock the car later in the command it is not working, i am asuming the Variable is not correct... so does this look right?
Is that vehicle CarCreated for all players? or just for the player, it is used under OnPlayerConnect, how can i make it just CarCreated for the playerid ?
Код:
new carcreated = CreateVehicle(CarId,Carx,Cary,Carz,Carangle,randcolor,randcolor,10000); playercarid[playerid] = GetPlayerVehicleID(carcreated);