D:\Game\RP\gamemodes\TRRP.pwn(38128) : error 008: must be a constant expression; assumed zero
D:\Game\RP\gamemodes\TRRP.pwn(38129) : error 029: invalid expression, assumed zero
D:\Game\RP\gamemodes\TRRP.pwn(38129 -- 38130) : warning 215: expression has no effect
D:\Game\RP\gamemodes\TRRP.pwn(38130) : error 001: expected token: ";", but found "else"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
CMD:se(playerid, params[])
{
if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
{
if(IsPlayerInRangeOfPoint(playerid,3,354.37,173.91,1008.38)||// SENATE Duty
{
ShowPlayerDialog(playerid, SEMENU, DIALOG_STYLE_LIST, "Government","Duty\nUniforms\nEquipment", "Select", "Cancel");
}
else
{
SendClientMessageEx(playerid, COLOR_WHITE, "You aren't in range of your Senate lockers.");
}
}
return 1;
}
if(IsPlayerInRangeOfPoint(playerid,3,354.37,173.91,1008.38)||// SENATE Duty
if(IsPlayerInRangeOfPoint(playerid,3,354.37,173.91,1008.38))// SENATE Duty
Change this:
pawn Код:
pawn Код:
|
D:\Game\RP\gamemodes\TRRP.pwn(38124) : error 036: empty statement
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
if(IsPlayerInRangeOfPoint(playerid,3,354.37,173.91,1008.38));