DM zone
#1

Hi. I decided to make new DM zone, but i don't know how to how to make if you in that zone only /exit command work.

This is teleport to DM zone:

Код:
	if(!strcmp(cmdtext,"/cr-dm",true))
  {
    SetPlayerPos(playerid,561.9404, -3516.9241, 5.5000);
    SendClientMessage(playerid, 0xFF000090, "*DM zona");
    SetPlayerVirtualWorld(playerid, 2);
    return 1;
  }
Exit command:
Код:
  if(!strcmp(cmdtext,"/exit",true))
  {
    SetPlayerPos(playerid, 397.5430, -1804.3560, 8.9000);
    SendClientMessage(playerid, 0xFF000090, " Home");
    SetPlayerVirtualWorld(playerid, 0);
    SetPlayerInterior(playerid,0);
    return 1;
  }
Please help me
Thanks
Reply


Messages In This Thread
DM zone - by martyz-lithuania - 22.10.2009, 14:10
Re: DM zone - by Correlli - 22.10.2009, 14:18
Re: DM zone - by martyz-lithuania - 22.10.2009, 20:01
Re: DM zone - by Eulfen - 22.10.2009, 20:03

Forum Jump:


Users browsing this thread: 1 Guest(s)