18.11.2011, 12:42
Hi guys I am making my server and i make a dm command.Here it is :
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 ??
Код:
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; }
