[FilterScript] Browser Skins - 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] Browser Skins (
/showthread.php?tid=356380)
Browser Skins -
Breakbouster - 03.07.2012
It is a browser skins, you do not have to explain its action, right?
So it looks like this on my server.

Feel free to download, comment and evaluation.
http://www.solidfiles.com/d/7f3c463b31/
Re: Browser Skins -
Breakbouster - 03.07.2012
Any comment?
Re: Browser Skins -
Littlehelper - 03.07.2012
Very nice
Re: Browser Skins -
Breakbouster - 03.07.2012
Thank you.
Re: Browser Skins -
Niko_boy - 03.07.2012
its lovely background behind boxes seems cool
Re: Browser Skins -
Mark Shade - 03.07.2012
How does it work? do you type a cmd to start browsing them in a bincos or something?
Re: Browser Skins -
Littlehelper - 03.07.2012
Quote:
Originally Posted by Mark Shade
How does it work? do you type a cmd to start browsing them in a bincos or something?
|
If you take some time to download the script and take a look at the code, the textdraws will be shown OnPlayerRequestClass callback.
However, you can change them to your needs.
Re: Browser Skins -
Breakbouster - 04.07.2012
Thanks for comments.
Re: Browser Skins -
Delete_ - 04.07.2012
very nice
Re: Browser Skins -
Jonny5 - 04.07.2012
Quote:
Originally Posted by Breakbouster
Any comment?
|
this is terrible!
pawn Code:
for(new X = 10; X < 20; X++)
{
TextDraw[X] = TextDrawCreate(TextDrawPosition[0],TextDrawPosition[1],"~N~~N~~N~~N~~N~~N~~N~~N~~N~~N~");
20 TEXTDRAWS just with blank nothing in them, what a waste
but wait.. theres more
pawn Code:
for(new X = 20; X < 30; X++)
{
TextDraw[X] = TextDrawCreate(TextDrawPosition[0],TextDrawPosition[1],"~N~~N~~N~~N~~N~");
there another wasted 10 TDS.
for what? just find the position and do it with 2 tds, not 31 of them.
and also you create another 100 for MAXIMAL_PLAYERS which i have no clue
why you wouldnt use MAX_PLAYERS but even if
if only 1 player is on you still have 100 TDS for the players to see.
I would use
1 Text: and 1 PlayerText: (per player)
and create and destroy the PlayerText: in OnPlayerRequestClass & OnPlayerSpawn
as they wont be needed while your spawned.
your way is very inefficient