Can someone tell me whats wrong here? 4 Errors.
#1

I have tired everything I know and I still cannot figure out why I get these error messages. Hopefully someone else knows and can explain it to me?? Thanks in advance.

Error Messages:
Код:
C:\Users\Owner\Desktop\NGRP\gamemodes\NGRP.pwn(1341) : error 029: invalid expression, assumed zero
C:\Users\Owner\Desktop\NGRP\gamemodes\NGRP.pwn(1341) : warning 215: expression has no effect
C:\Users\Owner\Desktop\NGRP\gamemodes\NGRP.pwn(1341) : error 001: expected token: ";", but found ")"
C:\Users\Owner\Desktop\NGRP\gamemodes\NGRP.pwn(1341) : error 029: invalid expression, assumed zero
C:\Users\Owner\Desktop\NGRP\gamemodes\NGRP.pwn(1341) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Code:
Код:
	
        new i = 0;
	while(i < sizeof(arrForbiddenNames)) if(strcmp(arrForbiddenNames[i++], GetPlayerNameExt(playerid), true) == 0) {
		SetPlayerName(playerid, "InvalidNick");
		SendClientMessage(playerid, COLOR_RED, "You have been kicked & logged for using a forbidden username.");
		Kick(playerid);
		return 0;

	}
	return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)