Dm Help
#1

Hi guys I am making my server and i make a dm command.Here it is :

Код:
if (strcmp("/dm1", cmdtext, true, 10) == 0)
    {
      SetPlayerPos(playerid, 1776.9133, -1801.5455, 52.4688);
      SetPlayerFacingAngle(playerid, 0);
    }
    new string[128],pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
    format(string,sizeof(string)," %s Joined Dm1[RoRy's Deathmatch]",pName);
    SendClientMessageToAll(COLOR_YELLOW,string);
    return 1;
}
How to make when somebody type a tele command to show "You Need To Exit The Deathmatch First" and how to make a exit command to exit the dm ??
Reply


Messages In This Thread
Dm Help - by IvancheBG - 18.11.2011, 12:42
Re: Dm Help - by Kingunit - 18.11.2011, 13:14
Re: Dm Help - by KosmasRego - 18.11.2011, 13:20
Re: Dm Help - by IvancheBG - 18.11.2011, 13:39

Forum Jump:


Users browsing this thread: 1 Guest(s)