31.07.2012, 21:30
I Made this DM Minigame
How can i Disable commands when hes inside the DM
and how can i make player Respawn in DM
Код:
CMD:dm1(playerid,params[]) { SetPlayerPos(playerid, 1133.1377,-1558.7405,22.7509); SetPlayerVirtualWorld(playerid, 5); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Welcom to DM 1"); PlayerPlaySound(playerid ,3200,0,0,0); SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); GivePlayerWeapon(playerid, 27, 1500); GivePlayerWeapon(playerid, 29, 1500); GivePlayerWeapon(playerid, 31, 2000); GivePlayerWeapon(playerid, 16, 5); return 1; }
and how can i make player Respawn in DM