HELP! REP+ Should be easy!
#8

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp(cmdtext, "/adminroof", true))
    {
        if(IsPlayerInRangeOfPoint(playerid, 3.0, 1847.7333,-1761.9608,13.5469))
        {
            SetPlayerPos(playerid, 1889.0286,-1782.9777,25.7911);//Naar boven
            SetPlayerInterior(playerid, 0);
            return 1;
        }
    }
    if(strcmp(cmdtext, "/admindown", true))
    {
        if(IsPlayerInRangeOfPoint(playerid, 3.0, 1889.0286,-1782.9777,25.7911))
        {
            SetPlayerPos(playerid, 1847.7333,-1761.9608,13.5469);//Naar beneden
            SetPlayerInterior(playerid, 0);
			return 1;
        }
    }
    return 1;
}
Try this.

EDIT:
@Sam1: Great minds think alike haha. Beat me to it I'll admit though.. Might want to correct the 2nd IsPlayerInRange line, it still has the misplaced parameter discussed earlier in your code.
Reply


Messages In This Thread
HELP! REP+ Should be easy! - by Songason - 18.06.2013, 02:47
Respuesta: HELP! REP+ Should be easy! - by Parka - 18.06.2013, 02:55
Re: HELP! REP+ Should be easy! - by Enforcer501 - 18.06.2013, 03:00
Re: HELP! REP+ Should be easy! - by Songason - 18.06.2013, 03:04
Re: HELP! REP+ Should be easy! - by Enforcer501 - 18.06.2013, 03:06
Re: HELP! REP+ Should be easy! - by Songason - 18.06.2013, 03:10
Re: HELP! REP+ Should be easy! - by San1 - 18.06.2013, 03:16
Re: HELP! REP+ Should be easy! - by Enforcer501 - 18.06.2013, 03:18
Re: HELP! REP+ Should be easy! - by Songason - 18.06.2013, 03:22
Re: HELP! REP+ Should be easy! - by Songason - 18.06.2013, 03:29

Forum Jump:


Users browsing this thread: 3 Guest(s)