14.11.2009, 04:29
Well i work on these AddVehicleComponent thingy and all i got this
so when player type /nitro his car gets nitro but when i tested it just says "your car has nitro now" and the nitro doesnt appear=/
another thing if theres a tutorial for like "You need to be in a car to use this command!" to check if player is in vehicle (i know the CheckIfPlayerOnVehicle or something like that) but to know how to put it all together thanks.
Код:
new vehicle; if (strcmp("/nitro", cmdtext, true, 10) == 0) { AddVehicleComponent(vehicle,1010); SendClientMessage(playerid,0xFF9900AA,"Your Car Has Nitro Now"); return 1; }
another thing if theres a tutorial for like "You need to be in a car to use this command!" to check if player is in vehicle (i know the CheckIfPlayerOnVehicle or something like that) but to know how to put it all together thanks.