Command Help
#1

Hey guys I want create a command that when a player IsInRangeOfPoint x,y,z he types /escape and his Jail time becomes:
Код:
PlayerInfo[i][pJailTime] = 0;
I tried out a couple of time's but I wasn't able to do it I know it's easy but I can't understand where I am mistaken..

Thanks for the help; Unknown1195
Reply
#2

pawn Код:
if (strcmp("/escape", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,3.0,X POS, Y POS, Z POS))
        {
              PlayerInfo[i][pJailTime] = 0;
        }
        return 1;
    }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)