10.02.2012, 09:07
Код:
if(strcmp(cmdtext, "/nos", true) == 0) { new vehicleid = GetPlayerVehicleID(playerid); AddVehicleComponent(vehicleid, 1010); SendClientMessage(playerid,0xFFFFFFFF," You added NOS to the vehicle"); format(string, sizeof(string), "* %s added nitrous injection to the car.", sendername); ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5); return 1; } }
And for the doors make your own use this code here...
https://sampwiki.blast.hk/wiki/GetVehicleParamsEx