Error, help
#1

Код:
E:\Official Server\filterscripts\coins.pwn(48) : error 035: argument type mismatch (argument 1)
E:\Official Server\filterscripts\coins.pwn(49) : error 035: argument type mismatch (argument 1)
E:\Official Server\filterscripts\coins.pwn(50) : error 035: argument type mismatch (argument 1)
E:\Official Server\filterscripts\coins.pwn(51) : error 035: argument type mismatch (argument 1)
E:\Official Server\filterscripts\coins.pwn(52) : error 035: argument type mismatch (argument 1)
E:\Official Server\filterscripts\coins.pwn(53) : error 035: argument type mismatch (argument 1)
E:\Official Server\filterscripts\coins.pwn(147) : error 035: argument type mismatch (argument 2)
Lines 48-53
PHP код:
        Gtext[playerid] = TextDrawCreate(589 ,104 " ");
        
TextDrawFont(Gtext 3);
        
TextDrawLetterSize(Gtext 0.53.5);
        
TextDrawColor(Gtext 0x949400FF);
        
TextDrawSetOutline(Gtext false);
        
TextDrawSetProportional(Gtext true);
        
TextDrawSetShadow(Gtext 1); 
147:
PHP код:
CMD:mygears(playeridparams[])
{
  new 
string[150];
  
format(stringsizeof(string), "%d Gears!"Global_NamePlayerInfo[playerid][GoldCoins]);
  
TextDrawSetString(Gtext[playerid],string);
  
TextDrawShowForPlayer(playerid,Gtext);

Any help?!, +rep for help, thank you.
Reply
#2

Text:Gtext = .... not just Gtext = ....
Reply
#3

How did you define the Gtext variable?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)