28.08.2011, 08:08
@Generation-X:
Why do you use size 256 and 32 arrays? The maximum length of the text variable in OnPlayerText is 128 and the maximum length of the player name is 24 (MAX_PLAYER_NAME).
Why do you use size 256 and 32 arrays? The maximum length of the text variable in OnPlayerText is 128 and the maximum length of the player name is 24 (MAX_PLAYER_NAME).
pawn Code:
new
string[ 128 + MAX_PLAYER_NAME + 8 ], /* text + name + 'says' + spaces */
pName[ MAX_PLAYER_NAME ];