A few issues with my scripts
#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;
}

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;
}
If you do /enter and are not at that point (I'm adding multiple points when all issues are fixed), it teleports you.
/exit just doesn't work at all.
I get a warning s007 0xC0000005 error or something like that when spawning at a certain spawn.
If you drive a car somewhere, and leave it, after a few seconds it goes back to original spawn... help
Reply


Messages In This Thread
A few issues with my scripts - by Rabbayazza - 11.08.2011, 16:04
Re: A few issues with my scripts - by freshOrange - 11.08.2011, 16:12
Re: A few issues with my scripts - by Rabbayazza - 11.08.2011, 16:21

Forum Jump:


Users browsing this thread: 1 Guest(s)