[FilterScript] Paint for cars - 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: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Paint for cars (
/showthread.php?tid=255904)
Paint for cars - ColdIce - 17.05.2011
Hello
This is my first FS so be easy on me. I know this is extremely easy to make, but I hope someone can use it
Do /paint(u can change the cmd ofc) and the car will change colour, just a random colour! Some people think it's cool
Download!
http://solidfiles.com/d/48de2/
Re: Paint for cars -
Naruto_Emilio - 17.05.2011
Nice for your first release
Re: Paint for cars - ColdIce - 17.05.2011
Thank you
Re: Paint for cars -
douglasmonteiro - 18.05.2011
put screen of your filterscript
Re: Paint for cars - ColdIce - 18.05.2011
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/paint", true) == 0)
{
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xFFFFFFFF, "You must be in a vehicle!");
ChangeVehicleColor(GetPlayerVehicleID(playerid), random(255), random(255));
return 1;
}
return 0;
}