15.11.2012, 14:07
Error:
C:\Users\Lauris\Desktop\Servas\gamemodes\bom.pwn(1 56) : error 028: invalid subscript (not an array or too many subscripts): "pInfo"
C:\Users\Lauris\Desktop\Servas\gamemodes\bom.pwn(1 56) : warning 215: expression has no effect
C:\Users\Lauris\Desktop\Servas\gamemodes\bom.pwn(1 56) : error 001: expected token: ";", but found "]"
C:\Users\Lauris\Desktop\Servas\gamemodes\bom.pwn(1 56) : error 029: invalid expression, assumed zero
C:\Users\Lauris\Desktop\Servas\gamemodes\bom.pwn(1 56) : fatal error 107: too many error messages on one line
Lines:
C:\Users\Lauris\Desktop\Servas\gamemodes\bom.pwn(1 56) : error 028: invalid subscript (not an array or too many subscripts): "pInfo"
C:\Users\Lauris\Desktop\Servas\gamemodes\bom.pwn(1 56) : warning 215: expression has no effect
C:\Users\Lauris\Desktop\Servas\gamemodes\bom.pwn(1 56) : error 001: expected token: ";", but found "]"
C:\Users\Lauris\Desktop\Servas\gamemodes\bom.pwn(1 56) : error 029: invalid expression, assumed zero
C:\Users\Lauris\Desktop\Servas\gamemodes\bom.pwn(1 56) : fatal error 107: too many error messages on one line
Lines:
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp("/RR", cmdtext, true)) if(pInfo[playerid][Vip] == 1) { for(new i; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { Kick(i); } } }