22.01.2016, 10:41
Код:
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)
PHP код:
Gtext[playerid] = TextDrawCreate(589 ,104 , " ");
TextDrawFont(Gtext , 3);
TextDrawLetterSize(Gtext , 0.5, 3.5);
TextDrawColor(Gtext , 0x949400FF);
TextDrawSetOutline(Gtext , false);
TextDrawSetProportional(Gtext , true);
TextDrawSetShadow(Gtext , 1);
PHP код:
CMD:mygears(playerid, params[])
{
new string[150];
format(string, sizeof(string), "%d Gears!", Global_Name, PlayerInfo[playerid][GoldCoins]);
TextDrawSetString(Gtext[playerid],string);
TextDrawShowForPlayer(playerid,Gtext);
}