SA-MP Forums Archive
[Help] Error 035 With Zcmd (solved) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [Help] Error 035 With Zcmd (solved) (/showthread.php?tid=423015)



[Help] Error 035 With Zcmd (solved) - SweetsBrunsk - 16.03.2013

Код:
CMD:level0(PARAMS)
{
	SendClientMessage(playerid, ORAN,"----------Member Commands----------");
	SendClientMessage(playerid, GREY,"ACC | /insert /command /here");
	SendClientMessage(playerid, GREY,"GEN | /insert /command /here");
	SendClientMessage(playerid, GREY,"OTH | /insert /command /here");
	SendClientMessage(playerid, GREY,"OTH | /insert /command /here");
	SendClientMessage(playerid, ORAN,"Remember to read /rules!");
	return 1;
}
error 035: argument type mismatch (argument 2)

the errors start on the first SendClientMessage and end on the last SendClientMessage

EDIT: found the problem, i was defining the colors wrong


Re: [Help] Error 035 With Zcmd - Denying - 16.03.2013

Код:
CMD:level0(playerid, params[])
{
	SendClientMessage(playerid, ORAN,"----------Member Commands----------");
	SendClientMessage(playerid, GREY,"ACC | /insert /command /here");
	SendClientMessage(playerid, GREY,"GEN | /insert /command /here");
	SendClientMessage(playerid, GREY,"OTH | /insert /command /here");
	SendClientMessage(playerid, GREY,"OTH | /insert /command /here");
	SendClientMessage(playerid, ORAN,"Remember to read /rules!");
	return 1;
}



Re: [Help] Error 035 With Zcmd - SweetsBrunsk - 16.03.2013

whats the difference between

(PARAMS)

and

(playerid, params[])


Re: [Help] Error 035 With Zcmd - Denying - 16.03.2013

nvm -_-