#1

HI all what wrong in this ?
When i use /startstunt it say me every time you are not i a stunt zone
dcmd_Startstunt(playerid, params[])
{
#pragma unused params
if(IsPlayerInRangeOfPoint(playerid, 7.0, 2695.6880, -1704.6300, 11.843)
{
SetPlayerCheckpoint(playerid,1725.1915, 1453.2965, 10.3161, 10.0);
}
else
{
SendClientMessage(playerid,COLORE_ROSSO,"You are not in a stunt zone");
}
return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
PlayerInfo[playerid][StuntPoints]++;
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid,COLORE_ROSSO,"You win + 1 Stunt Points");
return 1;
}
Reply


Messages In This Thread
Help - by BlackEvils - 09.12.2014, 13:48
Re: Help - by UltraScripter - 09.12.2014, 13:51
Re: Help - by Josh_Main - 09.12.2014, 14:10
Re: Help - by BlackEvils - 09.12.2014, 14:30
Re: Help - by BlackEvils - 09.12.2014, 16:24

Forum Jump:


Users browsing this thread: 1 Guest(s)