[Help] Error 035 With Zcmd (solved)
#1

Код:
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
Reply
#2

Код:
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;
}
Reply
#3

whats the difference between

(PARAMS)

and

(playerid, params[])
Reply
#4

nvm -_-
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)