Problem
#1

error 035: argument type mismatch (argument 2)

PHP код:
            else if (GetPlayerState(i) == && PlayerToPoint(1.0i2230.3579,-2286.2107,14.3751))
            {
                if(
PlayerInfo[i][pJob] == 22)
                {
                    
format(stringsizeof(string), "~w~Materials Bank~n~Materials ammount: ~r~%d"matssys[MatsAmmount]);
                    
GameTextForPlayer(istring50003);
                }
                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 :/
                
}
            } 
Reply
#2

which line got the Error ?
Reply
#3

This:
pawn Код:
SendClientMessage(i, COLOR_WHITE,string)
Replace it with your line, you forgot who to SendClientMessage to.
Reply
#4

[COMMENT HAS BEEN DELETE]
Reply
#5

Quote:
Originally Posted by JimmyCh
Посмотреть сообщение
This:
pawn Код:
SendClientMessage(i, COLOR_WHITE,string)
Replace it with your line, you forgot who to SendClientMessage to.
Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)