[Help] Array TXD Error
#1

why am I having these errors in my TXD?
Код:
SS/Core/Player/Commands.pwn(162) : error 033: array must be indexed (variable "ClassChanger")
SS/Core/Player/Commands.pwn(163) : error 035: argument type mismatch (argument 1)
SS/Core/Player/Commands.pwn(164) : error 035: argument type mismatch (argument 1)
SS/Core/Player/Commands.pwn(165) : error 035: argument type mismatch (argument 1)
SS/Core/Player/Commands.pwn(166) : error 035: argument type mismatch (argument 1)
SS/Core/Player/Commands.pwn(167) : error 035: argument type mismatch (argument 1)
SS/Core/Player/Commands.pwn(168) : error 035: argument type mismatch (argument 1)
SS/Core/Player/Commands.pwn(169) : error 035: argument type mismatch (argument 1)
SS/Core/Player/Commands.pwn(170) : error 035: argument type mismatch (argument 1)
SS/Core/Player/Commands.pwn(171) : error 035: argument type mismatch (argument 1)
PHP код:
    ClassChanger[1] = TextDrawCreate(405.500000111.633316"usebox");
    
TextDrawLetterSize(ClassChanger[1], 0.00000022.356815);
    
TextDrawTextSize(ClassChanger[1], 232.0000000.000000);
    
TextDrawAlignment(ClassChanger[1], 1);
    
TextDrawColor(ClassChanger[1], 0);
    
TextDrawUseBox(ClassChanger[1], true);
    
TextDrawBoxColor(ClassChanger[1], 102);
    
TextDrawSetShadow(ClassChanger[1], 0);
    
TextDrawSetOutline(ClassChanger[1], 0);
    
TextDrawFont(ClassChanger[1], 0); 
Definition:
PHP код:
new Text:ClassChanger[30]; 
OBS:this is only one part, the text draw occupies 27 spaces in the array.
Reply


Messages In This Thread
[Help] Array TXD Error - by ApolloScripter - 13.12.2018, 13:19
Re: [Help] Array TXD Error - by Threshold - 13.12.2018, 15:53

Forum Jump:


Users browsing this thread: 1 Guest(s)