27.05.2009, 23:09
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.
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.
|
format(string, sizeof(string), "bob");
SendClientMessage(playerid, COLOR_RED, string);
format(string, sizeof(string), "joe");
SendClientMessage(playerid, COLOR_RED, string);
Originally Posted by KeyWay
Quote:
|
Originally Posted by scorp1543
Quote:
|
1. Keyway listen to werido he is a great scripter and knows what he is talking about! |
Originally Posted by [SU
BP13 ]
lol what if Brittany Spears wants to play on your server? lol |
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 Код:
|
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. |
Originally Posted by JeNkStAX
Quote:
2) Just letting the function the thread is end dosent exit the thread. So again, Do not use this plugin. |
Originally Posted by JeNkStAX
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
|
new Dictators[][] = {
"Adolf_Hitler",
"Mao_Zedong",
"Vladimir_Lenin",
"Saddam_Hussein",
"Joseph_Stalin",
"Josef_Stalin",
"Enver_Hoxha",
"Omar_al_Bashir",
"George_Bush"
};
format(string, sizeof(string), "SERVER: %s was kicked from the server, Reason: This aint GTA:SA . (kicked)", pName);
PAWN Code: format(string, sizeof(string), "SERVER: %s was kicked from the server, Reason: This aint GTA:SA . (kicked)", pName); It kinda is Tongue |