17.04.2016, 20:11
Solved.
The problem is the following code:
Convert To:
Код:
%How to fix it?
pawn Код:
if(checkpointid == CheckPoint1 || CheckPoint2)
{
SendClientMessage(playerid,0xF5551FFF,"Test");
return 1;
}
pawn Код:
if(checkpointid == CheckPoint1)
{
SendClientMessage(playerid,0xF5551FFF,"Test");
return 1;
}
if(checkpointid == CheckPoint2)
{
SendClientMessage(playerid,0xF5551FFF,"Test");
return 1;
}
% OR
if(checkpointid == CheckPoint1 || checkpointid == CheckPoint2)
{
SendClientMessage(playerid,0xF5551FFF,"Test");
return 1;
}