Right seriously, this is driving me INSANE!
#1

I've been having troubles with "/exit" not working at all and no-one can fix it!
Anyone, ANYONE, please try!
Код:
COMMAND:exit(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid, 2.0, 246.2732, 112.0255, 1003.2188))
    {
            SetPlayerPos(playerid, 290.7193, -1618.0544, 33.1547);
            SetPlayerInterior(playerid, 0);
    }
    return 1;
}

COMMAND:enter(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid, 2.0, 290.7193,-1618.0544,33.1547))
    {
    		SetPlayerPos(playerid, 246.2732,112.0255,1003.2188);
    		SetPlayerInterior(playerid, 10);
    }
    return 1;
}
/enter works FINE!!!!!!! /exit doesn't work at all! Whats wrong with this?!
Reply
#2

Try This:

Quote:

COMMAND:exit(playerid, params[])
{
if(IsPlayerInRangeOfPoint(playerid, 2.0, 246.2732, 112.0255, 1003.218)
{
SetPlayerPos(playerid,290.7193, -1618.0544, 33.1547);
SetPlayerInterior(playerid, 0);
}
return 1;
}

Reply
#3

Nothing, still not working.
Reply
#4

Check again your coordinate. It might be wrong.
Reply
#5

I GOT IT TO WORK!
You see the already included FS, gl_property has an /exit command too! so just delete that and it fixed!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)