SA-MP Forums Archive
[FilterScript] Color System - 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] Color System (/showthread.php?tid=566370)



Color System - finelaq - 05.03.2015

INFO
Hello sa-mp forum! I had a idea to make color system such that player can buy two colors for him, sell them and change them. I'm not proffesional scripter, so that's not good script i think. But give your feedback is this good or usless and bad?

IMAGES


DOWNLOAD
UPDATED! - Added saving.
Solidfiles
Pastebin

pawn Код:
// This was just for testing.
CMD:money(playerid, params[])
{
    GivePlayerMoney(playerid, 999999999);
    return 1;
}



Re: Color System - Luis- - 05.03.2015

Wow, this wouldn't be good in a roleplay server! Also, you would be better adding a pastebin link, imo it's easier to use.


Re: Color System - finelaq - 05.03.2015

Quote:
Originally Posted by Luis-
Посмотреть сообщение
Wow, this wouldn't be good in a roleplay server! Also, you would be better adding a pastebin link, imo it's easier to use.
Okay, i added pastebin!


Re: Color System - Luis- - 05.03.2015

You should consider using "switch" & "case", they're much better than using "if" statements all the time, check them out on the wiki


Re: Color System - finelaq - 05.03.2015

Quote:
Originally Posted by Luis-
Посмотреть сообщение
You should consider using "switch" & "case", they're much better than using "if" statements all the time, check them out on the wiki
I see, thanks.


Re: Color System - MohanedZzZ - 06.03.2015

I've a suggestion
it would be good if you can decrease the costs of the colors and script saving system using y_ini so the player can save his color and when he login into the game again he can use his color without lossing it.
Sorry for typos, reply posted from iPhone and i cannot turn off the auto words filter.


Re: Color System - Finnick - 06.03.2015

Wow, That's Good Thanks


Re: Color System - finelaq - 06.03.2015

Quote:
Originally Posted by MohanedZzZ
Посмотреть сообщение
I've a suggestion
it would be good if you can decrease the costs of the colors and script saving system using y_ini so the player can save his color and when he login into the game again he can use his color without lossing it.
Sorry for typos, reply posted from iPhone and i cannot turn off the auto words filter.
Hmmm... I see, thank you for your suggestion!

Quote:
Originally Posted by Finnick
Посмотреть сообщение
Wow, That's Good Thanks
Thank you, Please!


Re: Color System - Sellize - 06.03.2015

Looks alright. In the future look into easier editable configurations, in this case you could have defined the price of each color so that the users of the script can adjust it to their liking.


Re: Color System - Mark_Samp - 06.03.2015

Good one , it may be useful!