12.08.2011, 02:06
I've been having troubles with "/exit" not working at all and no-one can fix it!
Anyone, ANYONE, please try!
/enter works FINE!!!!!!! /exit doesn't work at all! Whats wrong with this?!
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;
}


)