[FilterScript] [FS] Pay'n'Spray Colors Menu
#1

Now you can respray ALL vehicles (except biggest) in CJ's garage in Doherty.

Screens:


Idea, discuss: http://forum.sa-mp.com/index.php?topic=64467
Video: http://forum.sa-mp.com/index.php?top...560#msg1054560

Link: http://solidfiles.com/d/cec6/
Pastebin: http://pastebin.com/5qnHvki1
Reply
#2

lol nice
Reply
#3

Really nice and unique script, thank you. Now RP's will be more colorful .
Reply
#4

very good job, nice script
Reply
#5

This is kinda something nobody tought of!
Unique, nice script!
Reply
#6

Thanks pal this is a great idea :P
Reply
#7

I never thought you'd release it. Good Job.
Reply
#8

Код:
	  switch(PnSCMIndex[playerid])
		{
		  case 1: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]-1,PnSCMIndex[playerid]-1);
		  case 2: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]-1,PnSCMIndex[playerid]-1);
		  case 3: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]-1,PnSCMIndex[playerid]-1);
		  case 4: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]-1,PnSCMIndex[playerid]-1);
		  case 5: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]-1,PnSCMIndex[playerid]-1);
		  case 6: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]-1,PnSCMIndex[playerid]-1);
		  case 7: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]-1,PnSCMIndex[playerid]-1);
		  case 8: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]-1,PnSCMIndex[playerid]-1);
		  case 9: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]-1,PnSCMIndex[playerid]-1);
		  case 10: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]-1,PnSCMIndex[playerid]-1);
		  case 11: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]-1,PnSCMIndex[playerid]-1);
		  case 12: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid],PnSCMIndex[playerid]);
		  case 13: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid],PnSCMIndex[playerid]);
		  case 14: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid],PnSCMIndex[playerid]);
		  case 15: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid],PnSCMIndex[playerid]);
		  case 16: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid],PnSCMIndex[playerid]);
		  case 17: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid],PnSCMIndex[playerid]);
		  case 18: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid],PnSCMIndex[playerid]);
		  case 19: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid],PnSCMIndex[playerid]);
		  case 20: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+1,PnSCMIndex[playerid]+1);
		  case 21: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+1,PnSCMIndex[playerid]+1);
		  case 22: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+3,PnSCMIndex[playerid]+3);
		  case 23: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+5,PnSCMIndex[playerid]+5);
		  case 24: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+6,PnSCMIndex[playerid]+6);
		  case 25: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+6,PnSCMIndex[playerid]+6);
		  case 26: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+6,PnSCMIndex[playerid]+6);
		  case 27: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+6,PnSCMIndex[playerid]+6);
		  case 28: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+8,PnSCMIndex[playerid]+8);
		  case 29: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+11,PnSCMIndex[playerid]+11);
		  case 30: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+11,PnSCMIndex[playerid]+11);
		  case 31: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+11,PnSCMIndex[playerid]+11);
		  case 32: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+11,PnSCMIndex[playerid]+11);
		  case 33: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+11,PnSCMIndex[playerid]+11);
		  case 34: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+12,PnSCMIndex[playerid]+12);
		  case 35: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+14,PnSCMIndex[playerid]+14);
		  case 36: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+15,PnSCMIndex[playerid]+15);
		  case 37: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+16,PnSCMIndex[playerid]+16);
		  case 38: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+16,PnSCMIndex[playerid]+16);
		  case 39: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+20,PnSCMIndex[playerid]+20);
		  case 40: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+21,PnSCMIndex[playerid]+21);
		  case 41: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+24,PnSCMIndex[playerid]+24);
		  case 42: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+26,PnSCMIndex[playerid]+26);
		  case 43: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+28,PnSCMIndex[playerid]+28);
		  case 44: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+33,PnSCMIndex[playerid]+33);
		  case 45: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+34,PnSCMIndex[playerid]+34);
		  case 46: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+38,PnSCMIndex[playerid]+38);
		  case 47: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+38,PnSCMIndex[playerid]+38);
		  case 48: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+38,PnSCMIndex[playerid]+38);
		  case 49: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+42,PnSCMIndex[playerid]+42);
		  case 50: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+42,PnSCMIndex[playerid]+42);
		  case 51: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+42,PnSCMIndex[playerid]+42);
		  case 52: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+42,PnSCMIndex[playerid]+42);
		  case 53: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+45,PnSCMIndex[playerid]+45);
		  case 54: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+50,PnSCMIndex[playerid]+50);
		  case 55: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+51,PnSCMIndex[playerid]+51);
		  case 56: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+52,PnSCMIndex[playerid]+52);
		  case 57: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+53,PnSCMIndex[playerid]+53);
		  case 58: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+53,PnSCMIndex[playerid]+53);
		  case 59: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+55,PnSCMIndex[playerid]+55);
		  case 60: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+58,PnSCMIndex[playerid]+58);
		  case 61: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+58,PnSCMIndex[playerid]+58);
		  case 62: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+61,PnSCMIndex[playerid]+61);
		  case 63: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+63,PnSCMIndex[playerid]+63);
		  case 64: ChangeVehicleColor(GetPlayerVehicleID(playerid),PnSCMIndex[playerid]+63,PnSCMIndex[playerid]+63);
		}
You realize that you could greatly simply this, perhaps with a simple lookup table.
Reply
#9

Quote:
Originally Posted by RedShirt (JernejL)
You realize that you could greatly simply this, perhaps with a simple lookup table.
Course you understand that the code is crude and is used to include other development, because textdraws could also be done through the arrays and loops.
Reply
#10

thnx because on my pc the pay n spray didnt work(colour didnt change)
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)