02.12.2016, 18:56
Try this:
PHP код:
CMD:startpaint(playerid)
{
SetPlayerHealth(playerid, 50);
SendClientMessage(playerid, COLOR_RED, "Follow the checkpoints to continue painting.");
SendClientMessage(playerid, COLOR_RED, "You now have started painting.");
SetPlayerCheckpoint(playerid, 206.6469, -238.1338, 1.5781, 3.0);
if(IsPlayerInRangeOfPoint(playerid, 3.0, 195.8659, -237.8371, 1.5781))
{
SendClientMessage(playerid,COLOR_RED,"basic test");
}
return 1;
}