14.03.2015, 20:53
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
I already have that under OnPlayerConnect, so can you show me how I would add it to that?
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; }