How to make a anti-non-rp-name system help.
#3

C:\Users\Nicholas\Desktop\AG-RP\gamemodes\AGRP.pwn(104989) : warning 217: loose indentation
C:\Users\Nicholas\Desktop\AG-RP\gamemodes\AGRP.pwn(107454) : error 021: symbol already defined: "Itter_OnPlayerConnect"
C:\Users\Nicholas\Desktop\AG-RP\gamemodes\AGRP.pwn(107456) : error 035: argument type mismatch (argument 2)
C:\Users\Nicholas\Desktop\AG-RP\gamemodes\AGRP.pwn(107456) : error 035: argument type mismatch (argument 2)
C:\Users\Nicholas\Desktop\AG-RP\gamemodes\AGRP.pwn(107457) : error 035: argument type mismatch (argument 1)
C:\Users\Nicholas\Desktop\AG-RP\gamemodes\AGRP.pwn(107457) : warning 215: expression has no effect
C:\Users\Nicholas\Desktop\AG-RP\gamemodes\AGRP.pwn(107457) : warning 215: expression has no effect
C:\Users\Nicholas\Desktop\AG-RP\gamemodes\AGRP.pwn(107457) : error 001: expected token: ";", but found ")"
C:\Users\Nicholas\Desktop\AG-RP\gamemodes\AGRP.pwn(107457) : error 029: invalid expression, assumed zero
C:\Users\Nicholas\Desktop\AG-RP\gamemodes\AGRP.pwn(107457) : fatal error 107: too many error messages on one line

Код:
public OnPlayerConnect(playerid)
{
	for (new i = 0; i < 4; i ++)
	{
	    DriveThruItems[playerid][i] = 0;
	}
	if(Security != 0)
	{
	    SendClientMessage(playerid, COLOR_YELLOW, "Host has broken one of the Agreement rules, action has been taken.");
	    Kick(playerid);
	    return 1;
	}
I already have that under OnPlayerConnect, so can you show me how I would add it to that?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)