HELP [Come Here Scripter]
#1

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
Reply
#2

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
Reply
#3

Enough Space ? <<< TAB / Space / Enter Button ? do You can see me some Example
Reply
#4

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
Reply
#5

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
Reply
#6

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
Reply
#7

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);
Reply
#8

DELETED
Problem FIxed with My Self Because just } at return 1; Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)