SA-MP Forums Archive
[FilterScript] [FS]Bad_Name/Famous_Name blocker by KeyWay [UPDATED] - 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] [FS]Bad_Name/Famous_Name blocker by KeyWay [UPDATED] (/showthread.php?tid=78525)

Pages: 1 2 3


Re: [FS]Bad_Name/Famous_Name blocker by KeyWay - Weirdosport - 27.05.2009

If you'd read the post you'd actually realise there's quite a lot of constructive stuff in there. And accusing me of flaming makes you look very silly indeed.


Re: [FS]Bad_Name/Famous_Name blocker by KeyWay - KeyWay - 27.05.2009

Quote:
Originally Posted by Weirdosport
If you'd read the post you'd actually realise there's quite a lot of constructive stuff in there. And accusing me of flaming makes you look very silly indeed.
You could fix your writing style, cant understand are you helping or shiting around. Soz im just at mad mood.


Re: [FS]Bad_Name/Famous_Name blocker by KeyWay - Weirdosport - 27.05.2009

Ok the main points are that you don't need to GetPlayerName more than once, just keep using the same one throughout.

Also, when you need to format and send 2 strings, reuse the old one. For example:

pawn Код:
format(string, sizeof(string), "bob");
SendClientMessage(playerid, COLOR_RED, string);
format(string, sizeof(string), "joe");
SendClientMessage(playerid, COLOR_RED, string);
This uses 1 less string, and if you use string throughout your script you'll have a smaller list of new's and a happier server. Also when using if statements try to use curly brackets, they aid in clarity alot.


Re: [FS]Bad_Name/Famous_Name blocker by KeyWay - Mrkrabz - 28.05.2009

Quote:
Originally Posted by KeyWay
Quote:
Originally Posted by Weirdosport
If you'd read the post you'd actually realise there's quite a lot of constructive stuff in there. And accusing me of flaming makes you look very silly indeed.
You could fix your writing style, cant understand are you helping or shiting around. Soz im just at mad mood.
His wrighting style is much better than your's, He at leat uses Punctuation Unlike you.


Re: [FS]Bad_Name/Famous_Name blocker by KeyWay - Hugh - 28.05.2009

Leave him alone.

He made a FS that can help RP servers out. Who know's where his from. Probably not an english speaking country. Just chill man.

Good FS.


Re: [FS]Bad_Name/Famous_Name blocker by KeyWay - XAOC - 28.05.2009

JeNkStAX,
1. use xsleep(ms); only in Thread
2. Thread is destroyed upon completion of OnThreadWork()


Re: [FS]Bad_Name/Famous_Name blocker by KeyWay - Shadow_ - 28.05.2009

1. Keyway listen to werido he is a great scripter and knows what he is talking about!
2. Others fuck off and leave Keyway alone its his first FS and its preety good i may modify and use soo there!


Re: [FS]Bad_Name/Famous_Name blocker by KeyWay - XAOC - 28.05.2009

ShadowMcFartPants!, TIS(Threads In SA-MP) - my plugin, i know what say)


Re: [FS]Bad_Name/Famous_Name blocker by KeyWay - KeyWay - 28.05.2009

Quote:
Originally Posted by scorp1543
Quote:
Originally Posted by KeyWay
Quote:
Originally Posted by Weirdosport
If you'd read the post you'd actually realise there's quite a lot of constructive stuff in there. And accusing me of flaming makes you look very silly indeed.
You could fix your writing style, cant understand are you helping or shiting around. Soz im just at mad mood.
His wrighting style is much better than your's, He at leat uses Punctuation Unlike you.
I didnt mean by english or like that. I mean that he is using alot "!?!?!?!?!?!?" these etc. So when you read it you could think thats hes "yelling" or just messing around.

Quote:

1. Keyway listen to werido he is a great scripter and knows what he is talking about!

Yes, i am listening him. I apreticate hes help alot! Im trying to understand what does he mean, since i dont understand anything about what script takes how much CPU etc.


Re: [FS]Bad_Name/Famous_Name blocker by KeyWay - KeyWay - 28.05.2009

Quote:
Originally Posted by [SU
BP13 ]
lol what if Brittany Spears wants to play on your server? lol
HAHAHAHAHAHAHAHHAHAHAHAHAHA! If she wants to join my server ill shit pricks!


Re: [FS]Bad_Name/Famous_Name blocker by KeyWay - KeyWay - 28.05.2009

Quote:
Originally Posted by Weirdosport
Ok the main points are that you don't need to GetPlayerName more than once, just keep using the same one throughout.

Also, when you need to format and send 2 strings, reuse the old one. For example:

pawn Код:
format(string, sizeof(string), "bob");
SendClientMessage(playerid, COLOR_RED, string);
format(string, sizeof(string), "joe");
SendClientMessage(playerid, COLOR_RED, string);
This uses 1 less string, and if you use string throughout your script you'll have a smaller list of new's and a happier server. Also when using if statements try to use curly brackets, they aid in clarity alot.
Hmmm, yes. I think i get your point. But can you show me little bigger example? I just dont understand how's that possible.


Re: [FS]Bad_Name/Famous_Name blocker by KeyWay - Weirdosport - 28.05.2009

I could make the example huge bit it would still show exactly the same thing. When you format a string, you change the values within it. In this case, you're making them say "bob" then sending it to everybody. Once you've sent it, you don't need it any more.. So you can re-use the string, put new stuff in it ("joe") and send that to people.

I just PM'ed you KeyWay.


Re: [FS]Bad_Name/Famous_Name blocker by KeyWay - KeyWay - 28.05.2009

Quote:
Originally Posted by Weirdosport
I could make the example huge bit it would still show exactly the same thing. When you format a string, you change the values within it. In this case, you're making them say "bob" then sending it to everybody. Once you've sent it, you don't need it any more.. So you can re-use the string, put new stuff in it ("joe") and send that to people.

I just PM'ed you KeyWay.
Got your PM, i updated it now + added credits! Thanks for helping!


Re: [FS]Bad_Name/Famous_Name blocker by KeyWay [UPDATED] - Weirdosport - 28.05.2009

The indentation went a bit weird, but that's probably just pastebin


Re: [FS]Bad_Name/Famous_Name blocker by KeyWay - G_ROW_Chez - 28.05.2009

Quote:
Originally Posted by JeNkStAX
Quote:
Originally Posted by XAOC
JeNkStAX,
1. use xsleep(ms); only in Thread
2. Thread is destroyed upon completion of OnThreadWork()
1) That script allows users to use Sleep() anywhere and using it in OnThreadWork will stop sync for all players on the server.
2) Just letting the function the thread is end dosent exit the thread.
So again, Do not use this plugin.
haha you think that you know better this than plugin creator? lol
he make samp 0.2x bots alfa 1
what did you make?
he knows C# and C++ better than you
he make php control server panel...
i think it's stupid to argue with him


Re: [FS]Bad_Name/Famous_Name blocker by KeyWay [UPDATED] - Weirdosport - 28.05.2009

Quote:
Originally Posted by JeNkStAX
Quote:
Originally Posted by Weirdosport
The indentation went a bit weird, but that's probably just pastebin
Thats why you copy it from the bottom input box, Not the top.
I don't need to, I uploaded it..


Re: [FS]Bad_Name/Famous_Name blocker by KeyWay [UPDATED] - Burridge - 28.05.2009

This is a nice, and very good idea for RP servers, i'll be recommending this to ZO-RP's scripter


Re: [FS]Bad_Name/Famous_Name blocker by KeyWay [UPDATED] - KeyWay - 28.05.2009

Quote:
Originally Posted by Burridge
This is a nice, and very good idea for RP servers, i'll be recommending this to ZO-RP's scripter
Its nice to hear that people will actually use this and likes it Cool.


Re: [FS]Bad_Name/Famous_Name blocker by KeyWay [UPDATED] - DMSOrg - 30.05.2009

Expansion time!

pawn Код:
new Dictators[][] = {
"Adolf_Hitler",
"Mao_Zedong",
"Vladimir_Lenin",
"Saddam_Hussein",
"Joseph_Stalin",
"Josef_Stalin",
"Enver_Hoxha",
"Omar_al_Bashir",
"George_Bush"
};
My friends server used to get all kinds of 'AdolfHitler's and 'JoeyStalin's all the time :P

also:

pawn Код:
format(string, sizeof(string), "SERVER: %s was kicked from the server, Reason: This aint GTA:SA . (kicked)", pName);
It kinda is :P


Re: [FS]Bad_Name/Famous_Name blocker by KeyWay [UPDATED] - KeyWay - 30.05.2009

Quote:

PAWN Code:

format(string, sizeof(string), "SERVER: %s was kicked from the server, Reason: This aint GTA:SA . (kicked)", pName);


It kinda is Tongue

Actualy its not.
GTA:SA = Grand Theft Auto: San Andreas <- Witch means normal game that you buy from store = Storyline.
SA:MP= San Andreas: MultiPlayer <- Witch means someone has made nice multiplayer mod to GTA:SA so GTASA and SAMP isnt actually the same thing.

Cheeky :P