[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
#2

Are you forgetting to add a:

pawn Код:
return 1;
?
Reply
#3

LOLOLOOL
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)