16.07.2012, 21:34
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:
Regarding the 3d textdraws it could also be that the coords are wrong, i cant tell from what you posted.
Код:
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; }