02.07.2009, 20:50
Hello, I was scripting a place today, but I am having a little trouble, would anyone be able to tell me how I can make an /enter command so that if the player types it when he is not at the " I " icon that he cannot enter, where as if he was, he can enter?
//CODE
Thanks in advance.
//CODE
Код:
if(!strcmp("/Enter", cmdtext, true)) { GameTextForPlayer(playerid, "~g~Welcome to Alhambra!",3500,5); SetPlayerInterior(playerid, 17); SetPlayerPos(playerid,493.5872,-22.6800,1000.6797); CreatePickup(1239,1, -1921.4227,564.1207,35.2072); return 1; }