HELP [Come Here Scripter] - 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: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: HELP [Come Here Scripter] (
/showthread.php?tid=330720)
HELP [Come Here Scripter] -
tandytanz - 02.04.2012
What's the meaning of
new string [128];
new string[42];
new string [2048];
ETC
I Don't Understand with That Function --_ and i can't make the new string [var]; because i don't understand
Re: HELP [Come Here Scripter] -
TzAkS. - 02.04.2012
That code declares a new string with enough space for a [X] character string
If the text is more then [X] characters,will show just [X] character
Re: HELP [Come Here Scripter] -
tandytanz - 02.04.2012
Enough Space ? <<< TAB / Space / Enter Button
? do You can see me some Example
Re: HELP [Come Here Scripter] -
TzAkS. - 02.04.2012
Space..i mean space on a text from server..like
Код:
new string[32];
format(string, sizeof(string), "This text can be not more than 32 characters");
SendClientMessage(playerid, Color, string);
This is just an example..
I hope you understand
Re: HELP [Come Here Scripter] -
tandytanz - 02.04.2012
Quote:
Originally Posted by TzAkS.
Space..i mean space on a text from server..like
Код:
new string[32];
format(string, sizeof(string), "This text can be not more than 32 characters");
SendClientMessage(playerid, Color, string);
This is just an example..
I hope you understand
|
Hmmm... I Want to Test Now if You Help me in this problem i will give your rep
Re: HELP [Come Here Scripter] -
tandytanz - 02.04.2012
Quote:
format(string, sizeof(string), "* %s Menyalakan LightSirine.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
|
Hey I Don't Understand, can You Fix that Word
Re: HELP [Come Here Scripter] -
TzAkS. - 02.04.2012
What to fix?
Did you created the string?
Код:
new string[64];
format(string, sizeof(string), "* %s Menyalakan LightSirine.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
Re: HELP [Come Here Scripter] -
tandytanz - 02.04.2012
DELETED
Problem FIxed with My Self Because just } at return 1; Thanks