[Solved] Need a Paintjob command (Thanks guys)
#2

God have you ever tried Wiki...

Click here

but if your to lazy you can just look right here:
Код:
//In command form
	if(strcmp(cmd, "/paint", true) == 0)
  {
    if(IsPlayerConnected(playerid))
	  {
 ChangeVehicleColor(vehicleid, MAINCOLORID, SUBCOLORID);
return 1;
}

//or maybe its this way if you get errors
	if(strcmp(cmd, "/paint", true) == 0)
  {
    if(IsPlayerConnected(playerid))
	  {
 ChangeVehicleColor(vehicleid, MAINCOLORID, SUBCOLORID);
}
return 1;
}
If you want to make a paint job do this (like decals)
Код:
//Define this by the others
new Veh1;
//Under OnGameModeInit
veh = GetPlayerVehicleID(playerid);
//Command Form
	if(strcmp(cmd, "/paintjob", true) == 0)
  {
    if(IsPlayerConnected(playerid))
	  {
ChangeVehiclePaintjob(Veh1,1 - 5);
return 1;
}
Reply


Messages In This Thread
[Solved] Need a Paintjob command (Thanks guys) - by SakuraBloss - 27.03.2009, 23:14
Re: [HELP] Need a Paintjob command - by zanakinz - 27.03.2009, 23:40
Re: [HELP] Need a Paintjob command - by MenaceX^ - 27.03.2009, 23:41
Re: [HELP] Need a Paintjob command - by SakuraBloss - 28.03.2009, 00:14
Re: [HELP] Need a Paintjob command - by SakuraBloss - 28.03.2009, 01:27
Re: [HELP] Need a Paintjob command - by SakuraBloss - 29.03.2009, 13:55
Re: [HELP] Need a Paintjob command - by FUNExtreme - 29.03.2009, 14:45
Re: [HELP] Need a Paintjob command - by SakuraBloss - 29.03.2009, 14:56
Re: [HELP] Need a Paintjob command - by FUNExtreme - 29.03.2009, 14:58
Re: [HELP] Need a Paintjob command - by SakuraBloss - 29.03.2009, 15:24

Forum Jump:


Users browsing this thread: 9 Guest(s)