[HELP] Works but gives error?
#1

Код:
CMD:hidename(playerid,params[]) {
    if(groupVariables[playerVariables[playerid][pGroup]][gGroupType] == 1 && playerVariables[playerid][pGroup] != 0) {
    	for(new i = 0; i < MAX_PLAYERS; i++)
		{
	    	ShowPlayerNameTagForPlayer(i, playerid, 0);
		}
	}
}

CMD:showname(playerid,params[]) {
    if(groupVariables[playerVariables[playerid][pGroup]][gGroupType] == 1 && playerVariables[playerid][pGroup] != 0) {
    	for(new i = 0; i < MAX_PLAYERS; i++)
		{
	    	ShowPlayerNameTagForPlayer(i, playerid, 1);
		}
	}
}
OK the above two codes work but when typed it says "Unknown Command" although it works, why?
Reply


Messages In This Thread
[HELP] Works but gives error? - by euRo - 24.06.2011, 03:17
Re: [HELP] Works but gives error? - by dr.pepper - 24.06.2011, 03:22
Re: [HELP] Works but gives error? - by euRo - 24.06.2011, 17:17

Forum Jump:


Users browsing this thread: 1 Guest(s)