A few basic errors.
#2

Could be you are not near the coords you provided, try this to see if you get the message saying you are not near the exit point:

Код:
if(!strcmp(cmdtext, "/enter", true))        {            

	if(IsPlayerInRangeOfPoint(playerid, 10, 1341.5411, -1675.3422, 17.7164)) {            
		SetPlayerPos(playerid, 963.70001221, -53.29999924, 1000.70001221);            
		SetPlayerInterior(playerid, 3);        
	}            
	else  SendClientMessage(playerid, COLOR_GREEN, "You are not near any enter points");
	
return 1;        
}    


if(!strcmp(cmdtext, "/exit", true))        {            
	if(IsPlayerInRangeOfPoint(playerid, 10, 963.70001221, -53.29999924, 1000.70001221)) {
            SetPlayerPos(playerid, 1341.5411, -1675.3422, 17.7164);            
	    SetPlayerInterior(playerid, 0);        
	}            
	else  SendClientMessage(playerid, COLOR_GREEN, "You are not near any exit points");

return 1;        
}
Regarding the 3d textdraws it could also be that the coords are wrong, i cant tell from what you posted.
Reply


Messages In This Thread
A few basic errors. - by Rabbayazza - 16.07.2012, 21:09
Re: A few basic errors. - by hansen111 - 16.07.2012, 21:34
Re: A few basic errors. - by Rabbayazza - 16.07.2012, 21:38
Re: A few basic errors. - by Rabbayazza - 16.07.2012, 21:47

Forum Jump:


Users browsing this thread: 3 Guest(s)