23.06.2010, 15:25
Ok I've been trying all day trying to make this work..
But i'm out of ideas, Maybe you can help?
Well i've made a nitro button, And a invaild vehicle command, asswell.
Here it is.
So maybe you know why the code doesn't stop the vehicle from installing nitro..
If you know please reply with a good answer.
thanks
Xtreme.
But i'm out of ideas, Maybe you can help?
Well i've made a nitro button, And a invaild vehicle command, asswell.
Here it is.
Quote:
if(IsPlayerInAnyVehicle(playerid)) { if(newkeys & KEY_FIRE) { if(IsPlayerInAnyVehicle(playerid)) AddVehicleComponent(GetPlayerVehicleID(playerid), 1010); } else if(GetPlayerVehicleID(playerid) != 522) { RemoveVehicleComponent(522,1010); } return 1; |
If you know please reply with a good answer.
thanks
Xtreme.