02.02.2011, 17:18
Quote:
Ok, you lost me after packed strings part.. anyway, can the code below cause any side effects?
pawn Code:
![]() |
pawn Code:
"string"
pawn Code:
!"string"
To deal with packed strings, you need functions that can deal with them aswell. format, print, printf, SendClientMessage, .. does NOT work with packed strings.
gPlayerName[MAX_PLAYERS][MAX_PLAYER_NAME char]
this will make the string 4 times smaller - try connecting with a nick like hellohellohelloh and see how far that gets you.
Also, LIKE I SAID, don\'t use packed strings for actual strings. In your case, just don\'t use them - you will find yourself having loads of weird bugs and such.