/enter and /exit CMDS help
#6

Example:
pawn Код:
if(!strcmp("/Enter", cmdtext, true))
 {
    if(IsPlayerInRangeOfPoint(playerid,3,1333.5809326172,-1863.5708007813,14.039328575134))
    {
        SetPlayerInterior(playerid, 1);
        SetPlayerPos(playerid,2064.185546875,-2071.7348632813,1115.2646484375);
        CreatePickup(1239,2,1333.5863037109,-1864.8194580078,14.652570724487);
        return 1;
    }
    if(IsPlayerInRangeOfPoint(playerid, 3, 5000, 5000, 5000))
    {
        SetPlayerPos(playerid, x, y, z);
        return 1;
    }
    if(IsPlayerInRangeOfPoint(playerid, 3, 6000, 6000, 6000))
    {
        // Do something here, etc etc
    }
}
Reply


Messages In This Thread
/enter and /exit CMDS help - by Mr.Black - 14.06.2011, 18:50
Re: /enter and /exit CMDS help - by 0_o - 14.06.2011, 18:58
Re: /enter and /exit CMDS help - by Skidmarks - 14.06.2011, 18:59
Re: /enter and /exit CMDS help - by 0_o - 14.06.2011, 19:07
Re: /enter and /exit CMDS help - by Mr.Black - 14.06.2011, 19:12
Re: /enter and /exit CMDS help - by Wesley221 - 14.06.2011, 19:15
Re: /enter and /exit CMDS help - by Bob_Raw - 14.06.2011, 19:33
Re: /enter and /exit CMDS help - by Mr.Black - 14.06.2011, 19:36
Re: /enter and /exit CMDS help - by Treyvan - 14.06.2011, 19:51
Re: /enter and /exit CMDS help - by Mr.Black - 14.06.2011, 20:00

Forum Jump:


Users browsing this thread: 1 Guest(s)