Help with /enter /exit
#5

Код:
if (strcmp(cmdtext, "/enter", true) == 0)
{
    if(IsPlayerInRangeOfPoint(playerid, 10, 290.7193,-1618.0544,33.1547))
    {
        SetPlayerPos(playerid, 288.745971,169.350997,1007.171875);
        SetPlayerInterior(playerid, 3);
    }
    return 1;
}

if (strcmp(cmdtext, "/exit", true) == 0)
{
    if(IsPlayerInRangeOfPoint(playerid, 10, 288.745971,169.350997,1007.171875))
    {
        SetPlayerPos(playerid, 290.7193,-1618.0544,33.1547);
        SetPlayerInterior(playerid, 0);
    }
    return 1;
}
It's now this, but /exit still won't work, it doesn't say unknown command, just doesn't teleport me out. And I get an error when joining the server (S007: Exception 0xC0000005 at 4CA013) but this doesn't make me crash. Help
Reply


Messages In This Thread
Help with /enter /exit - by Rabbayazza - 11.08.2011, 03:51
Re: Help with /enter /exit - by JaTochNietDan - 11.08.2011, 03:56
Re: Help with /enter /exit - by Rabbayazza - 11.08.2011, 04:13
Re: Help with /enter /exit - by JaTochNietDan - 11.08.2011, 04:20
Re: Help with /enter /exit - by Rabbayazza - 11.08.2011, 12:25

Forum Jump:


Users browsing this thread: 1 Guest(s)