error 035: argument type mismatch -
RandomDude - 22.07.2013
Код:
C:\Users\Grand\Desktop\Ultimate Gaming Ground\filterscripts\LuxAdmin.pwn(7765) : error 035: argument type mismatch (argument 1)
pawn Код:
new string2[128];
format(string2, sizeof(string2), "You have been disabled for %d days!", days);
SendClientMessage(giveplayer, orange, string2);
Line 7765 =
pawn Код:
SendClientMessage(giveplayer, orange, string2);
Re: error 035: argument type mismatch -
PrinceKumar - 22.07.2013
do you have stock for give player?
Re: error 035: argument type mismatch -
RandomDude - 22.07.2013
Oh no I don't lol.
Were can I find this?
Re: error 035: argument type mismatch -
Champ - 22.07.2013
I think you have to remove " give player " from send client message because it makes the wrong format.
Re: error 035: argument type mismatch -
RandomDude - 22.07.2013
I removed it now
error 035: argument type mismatch (argument 2)
Re: error 035: argument type mismatch -
PrinceKumar - 22.07.2013
okay do this SendClientMessage(playerid,orange,string2);
if you did not define orange the define it on the top of the script under includes
Re: error 035: argument type mismatch -
RandomDude - 22.07.2013
Orange is defined ...
I changed orange to a defined color already so its not the color...
Re: error 035: argument type mismatch -
JimmyCh - 22.07.2013
I gave you the code as giveplayer coz on the script you showed us, the guy who sees this message is "giveplayer", so I dont know why you got an error from this.. Try giveplayerid instead of giveplayer
Re: error 035: argument type mismatch -
RandomDude - 22.07.2013
giveplayer should work Its not that because when I removed it I still get the error
Re: error 035: argument type mismatch -
PrinceKumar - 22.07.2013
don't do anything you need to do this
pawn Код:
SendClientMessage(playerid, -1, string2);
i think then your problem will be resolved