SA-MP Forums Archive
Help with ChangeVehiclePaintjob - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help with ChangeVehiclePaintjob (/showthread.php?tid=254466)



Help with ChangeVehiclePaintjob - orrgoren11 - 11.05.2011

Hello!
I'm trying to do a simple /paint cmd, and I get nothing...
there is the code:
Код:
if(strcmp(cmd, "/paint", true) == 0){
		if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_RED, "You need to be in a vehicle!");
		ChangeVehiclePaintjob(GetPlayerVehicleID(playerid), 0);
		return 1;
	}
Thank you for you'r help!
P.S
No errors, and the a_vhicles.inc included.


Re: Help with ChangeVehiclePaintjob - Laronic - 11.05.2011

Are you sure that vehicle you try to tune is tuneable, like not all vehicles can get tuned with paintjobs


Re: Help with ChangeVehiclePaintjob - orrgoren11 - 11.05.2011

Can I please have the list of the cars the can be tuned?


Re: Help with ChangeVehiclePaintjob - Laronic - 11.05.2011

The cars you see on THIS link can be tunes