[Request]Please
#8

not Fixed
Quote:

D:\ffff\gamemodes\fast.pwn(1252) : error 028: invalid subscript (not an array or too many subscripts): "pInfo"
D:\ffff\gamemodes\fast.pwn(1252) : warning 215: expression has no effect
D:\ffff\gamemodes\fast.pwn(1252) : error 001: expected token: ";", but found "]"
D:\ffff\gamemodes\fast.pwn(1252) : error 029: invalid expression, assumed zero
D:\ffff\gamemodes\fast.pwn(1252) : fatal error 107: too many error messages on one line

Line 1252
Quote:

pInfo[lookupid][pRank] = ARank;

all the code
Quote:

CMDetrank(playerid, params[])
{
new str[128], ARank, lookupid;
if(PlayerInfo[playerid][pRank] == 6) // this command is for admins level 6 only
{
if(sscanf(params, "ui", lookupid, ARank)) return SendClientMessage(playerid, -1, "Usage: /setrank <PlayerID/PlayerName> <Rank>");
format(str, sizeof(str), "Admin %s (ID:%d) has setted %s (ID:%d) Rank to (%d)",GetName(playerid), playerid, GetName(lookupid), lookupid, ARank);
SendClientMessageToAll(-1, str);
pInfo[lookupid][pRank] = ARank;
}
else
{
SendClientMessage(playerid, -1, "Sorry , you are not admin");
}
return 1;
}

i done add
Quote:

new rank;

help to fixing error
Reply


Messages In This Thread
[Request]Please - by astanalol - 17.12.2014, 12:01
Re: [Request]Please - by JeaSon - 17.12.2014, 12:29
Re: [Request]Please - by astanalol - 17.12.2014, 13:02
Re: [Request]Please - by JeaSon - 17.12.2014, 13:11
Re: [Request]Please - by astanalol - 17.12.2014, 14:01
Re: [Request]Please - by astanalol - 17.12.2014, 15:10
Re: [Request]Please - by JeaSon - 17.12.2014, 16:32
Re: [Request]Please - by astanalol - 17.12.2014, 18:18
Re: [Request]Please - by JeaSon - 17.12.2014, 19:42

Forum Jump:


Users browsing this thread: 1 Guest(s)