need help InRangeOfPoint
#6

PHP Code:
new RobT[MaxPlayers];
CMD:Rob(playerid,params[])
{
//the rob command ....
    
RobT[playerid] = SetTimerEx("RobCheck"500true"i"playerid);
}
forward RobCheck(playerid);
public 
RobCheck(playerid)
{
    if(
IsRobbing)
    {
        if(!
isinrangeof.....)
        {
        
setPlayerHealth(playerid,0.0);
        
KillTimer(RobT[playerid]);
        }
    }

Reply


Messages In This Thread
need help InRangeOfPoint - by iThePunisher - 16.04.2014, 11:36
Re: need help InRangeOfPoint - by PrivatioBoni - 16.04.2014, 11:38
AW: need help InRangeOfPoint - by BiosMarcel - 16.04.2014, 11:40
Re: need help InRangeOfPoint - by iThePunisher - 16.04.2014, 11:54
AW: need help InRangeOfPoint - by BiosMarcel - 16.04.2014, 11:55
AW: need help InRangeOfPoint - by BiosMarcel - 16.04.2014, 12:01
Re: need help InRangeOfPoint - by iThePunisher - 16.04.2014, 12:03

Forum Jump:


Users browsing this thread: 3 Guest(s)