/tune need help
#2

Try this...

if(strcmp(cmdtext, "/tune", true) == 0)
{
new vehicleid, model;
model = GetVehicleModel(vehicleid); // Store the model ID of the vehicle
vehicleid = GetPlayerVehicleID(playerid);
AddVehicleComponent(vehicleid, 1074); // Switch ratlankiai
AddVehicleComponent(vehicleid, 1087); // Hydraulics
AddVehicleComponent(vehicleid, 1010); // Hydraulics
new newtext[256];
format(newtext, sizeof(newtext), "You just pimped your ~y~%s~y~", aVehicleNames[model-400]);
TextDrawSetString(TextdrawText, newtext);
TextDrawShowForPlayer(playerid, TextdrawText);
SetTimer("TextdrawTextRemove", 2000, false);
return 1;
}
Reply


Messages In This Thread
/tune need help - by Mr.Jvxmc - 25.10.2010, 12:01
Re: /tune need help - by Bogdanovic - 25.10.2010, 12:20
Re: /tune need help - by Mr.Jvxmc - 25.10.2010, 17:10
Re: /tune need help - by Mr.Jvxmc - 25.10.2010, 18:14

Forum Jump:


Users browsing this thread: 1 Guest(s)