21.09.2013, 22:39
error 035: argument type mismatch (argument 2)
PHP код:
else if (GetPlayerState(i) == 1 && PlayerToPoint(1.0, i, 2230.3579,-2286.2107,14.3751))
{
if(PlayerInfo[i][pJob] == 22)
{
format(string, sizeof(string), "~w~Materials Bank~n~Materials ammount: ~r~%d", matssys[MatsAmmount]);
GameTextForPlayer(i, string, 5000, 3);
}
else if(PlayerInfo[i][pJob] == 23)
{
new string[256];
format(string,sizeof(string),"{FFFFF}Materials:%d\nB59D00Use:/buymats",matssys[MatsAmmount]);
SendClientMessage(COLOR_WHITE,string);// Line 61365 error :/
}
}