19.02.2013, 17:15
I have a /enter and /exit command I get the /enter to work but the /exit wont I also want it to display text when on or near the pickup how?
Код HTML:
if(!strcmp(cmdtext, "/enter", true)) { if(IsPlayerInRangeOfPoint(playerid, 3.0, 1929.3467,-1776.0195,13.5469)) { SetPlayerPos(playerid,-30.946699,-89.609596,1003.549988);//Idlegas entrance SetPlayerInterior(playerid, 18); } } if(!strcmp(cmdtext, "/exit", true)) { if(IsPlayerInRangeOfPoint(playerid, 3.0, -30.9595,-91.7379,1003.5469)) { SetPlayerPos(playerid,1929.3467,-1776.0195,13.5469);//Idlegas Exit } } return 0; }