18.01.2013, 13:31
Quote:
|
Code:
C:\Documents and Settings\CT\Desktop\HUYA TDM\gamemodes\HUYA.pwn(42) : error 017: undefined symbol "string" C:\Documents and Settings\CT\Desktop\HUYA TDM\gamemodes\HUYA.pwn(42) : error 017: undefined symbol "string" C:\Documents and Settings\CT\Desktop\HUYA TDM\gamemodes\HUYA.pwn(42) : error 029: invalid expression, assumed zero C:\Documents and Settings\CT\Desktop\HUYA TDM\gamemodes\HUYA.pwn(42) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
pawn Code:
new
string[ 103 ]
;
To count characters in a string, I recommend using a simple tool like Microsoft Word (although it's slow), or an online website like lettercount.com.
___
Reading (at least parts of) the SA:MP Wiki and the pawn-language.pdf is very essential if you don't understand basics like these - I really recommend looking them up.


