13.06.2014, 19:33
hello
When a player is out of the checkpoint.
Nothing happens.
Where is the problem?
Thanks
When a player is out of the checkpoint.
Nothing happens.
Where is the problem?
Thanks
Код:
public OnPlayerLeaveCheckpoint(playerid)
{
if(CPS_IsPlayerInCheckpoint(playerid, CP_ROB_shop))
{
if(ROB_shop[playerid] >= 1)
{
SendClientMessage(playerid, 0xFFFFFFFF, "{FF9900}Failed.");
ROB_shop[playerid] = 0;
}
return 1;
}
return 1;
}

