also i am getting these errors when scripting /myrank command using zcmd
pawn Код:
/////My RANK//////
COMMAND:myrank(playerid, params[])
{
if(GetPlayerScore(playerid) >= 0 && GetPlayerScore(playerid) =< 150)// LINE 554
{
SendClientMessage(playerid, COLOR_GREY, "[SERVER] {FFFFFF}Your Current rank is Cadet");
}
return 1;
}
Errors:
D:\SAMP STUFF\SAMP HOST\gamemodes\Test.pwn(554) : warning 211: possibly unintended assignment
D:\SAMP STUFF\SAMP HOST\gamemodes\Test.pwn(554) : error 022: must be lvalue (non-constant)
D:\SAMP STUFF\SAMP HOST\gamemodes\Test.pwn(554) : error 029: invalid expression, assumed zero
D:\SAMP STUFF\SAMP HOST\gamemodes\Test.pwn(554) : warning 215: expression has no effect
D:\SAMP STUFF\SAMP HOST\gamemodes\Test.pwn(554) : error 001: expected token: ";", but found ")"
D:\SAMP STUFF\SAMP HOST\gamemodes\Test.pwn(554) : fatal error 107: too many error messages on one line