06.11.2017, 13:37
Quote:
i created chechpoint for the taxi driver, he have 'i' , passenger have 'playerid'
|
PHP код:
public OnPlayerEnterCheckpoint(playerid)
{
if(IsPlayerInRangeOfPoint(playerid,2.0,781.5677,841.8466,5.8482))
{
PlayerInfo[playerid][pCash] += 500;
DisablePlayerCheckpoint(playerid);
SCM(playerid, COLOR_GREEN, "u get 500$");
}
return true;
}