20.09.2009, 10:57
Hey i've made tuning command but its work on buffalo...
Код:
new vehicleid; vehicleid = GetPlayerVehicleID(playerid); if(!strcmp(cmdtext, "/Tune", true)) { AddVehicleComponent(vehicleid, 1080); // Switch ratlankiai AddVehicleComponent(vehicleid, 1086); // Stereo AddVehicleComponent(vehicleid, 1087); // Hydraulics SendClientMessage(playerid, 0xFF000090, "* Car tuned sucessfully!"); return 1; } else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 402) return SendClientMessage(playerid, 0xFF000090, "You cant tune buffalo"); return 1; }