#1

Problematic line:
pawn Код:
if(dini_Int(file(playerid),"Rank") => dini_Int(FactionFile(1), "Leaderank") || dini_Int(file(playerid),"Leader") == 1 || dini_Int(file(playerid),"Admin") > 3)
Errors:
pawn Код:
{HIDDEN}pwn(631) : warning 211: possibly unintended assignment
{HIDDEN}pwn(631) : error 022: must be lvalue (non-constant)
{HIDDEN}pwn(631) : error 029: invalid expression, assumed zero
{HIDDEN}pwn(631) : warning 215: expression has no effect
{HIDDEN}pwn(631) : error 001: expected token: ";", but found ")"
{HIDDEN}pwn(631) : fatal error 107: too many error messages on one line
Reply
#2

pawn Код:
if(dini_Int(file(playerid),"Rank") >= dini_Int(FactionFile(1), "Leaderank") || dini_Int(file(playerid),"Leader") == 1 || dini_Int(file(playerid),"Admin") > 3)
Reply
#3

Quote:
Originally Posted by THE_KNOWN
Посмотреть сообщение
pawn Код:
if(dini_Int(file(playerid),"Rank") >= dini_Int(FactionFile(1), "Leaderank") || dini_Int(file(playerid),"Leader") == 1 || dini_Int(file(playerid),"Admin") > 3)
THANKS!
Reply
#4

Another problem:

pawn Код:
if(dini_Int(strval(tmp)), "Rank") > dini_Int(file(playerid), "Rank") || dini_Int(strval(tmp)), "Leader") == dini_Int(file(playerid), "Team") return SendClientMessage(playerid, COLOR_LIGHTRED, "He's a higher rank than you/leader.");
Errors:

{HIDDEN}pwn(747) : error 035: argument type mismatch (argument 1)
{HIDDEN}pwn(747) : error 029: invalid expression, assumed zero
{HIDDEN}pwn(747) : error 035: argument type mismatch (argument 1)
{HIDDEN}pwn(747) : fatal error 107: too many error messages on one line[/pawn]
Reply
#5

pawn Код:
if(dini_Int(strval(tmp)), "Rank") > dini_Int(file(playerid), "Rank") && dini_Int(strval(tmp)), "Leader") == dini_Int(file(playerid), "Team")) return SendClientMessage(playerid, COLOR_LIGHTRED, "He's a higher rank than you/leader.");
Reply
#6

New errors:

pawn Код:
{HIDDEN}pwn(747) : error 035: argument type mismatch (argument 1)
{HIDDEN}pwn(747) : error 029: invalid expression, assumed zero
{HIDDEN}pwn(747) : error 035: argument type mismatch (argument 1)
{HIDDEN}pwn(747) : fatal error 107: too many error messages on one line
Reply
#7

pawn Код:
if(dini_Int(strval(tmp)), "Rank") > dini_Int(file(playerid), "Rank") && dini_Int(strval(tmp), "Leader") == dini_Int(file(playerid), "Team")) return SendClientMessage(playerid, COLOR_LIGHTRED, "He's a higher rank than you/leader.");
Reply
#8

Quote:
Originally Posted by Berlovan
Посмотреть сообщение
pawn Код:
if(dini_Int(strval(tmp)), "Rank") > dini_Int(file(playerid), "Rank") && dini_Int(strval(tmp), "Leader") == dini_Int(file(playerid), "Team")) return SendClientMessage(playerid, COLOR_LIGHTRED, "He's a higher rank than you/leader.");
same errors
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)