[FS-ish] Simplest Duel command
#1

Just a little command i made when i was just chilling, its just a simple command " /duel " and it will teleport to a certain base ball arena where its great to duel, it will give you full Armour and health and reset your pervious weapons and give you the weapons Sawn-Off, Tec9, Desert Eagle, i would recommend this for a simple server or so, its simple but pretty effective, i couldn't put it in a filterscript since i am new to scripting, but here is still something you could add.

Features:
  • Base Ball Area
    Custom Gametext For Player
    Welcome Message.
    Notification to other players
    Good weapons for good duelers, e.g 2 shot glitch.
    Gives full health and armour
    Very simple and easy to edit!
Код:
 if(strcmp(cmdtext, "/duel") == 0)
  {
    new name[24];
    GetPlayerName(playerid,name,24);
    SetPlayerPos(playerid, 1394.4448, 2159.5742, 9.7578,89.3516);
    format(string,sizeof(string),"%s has just typed /duel!",name);
		SendPlayerFormattedText(playerid,"Welcome to dueling arena", 0);
    GameTextForPlayer(playerid,"~w~Welcome to ~r~/Duel.",5000,5);
		SendClientMessageToAll(0xFFFFFFFF,string);
    ResetPlayerWeapons(playerid);
    GivePlayerWeapon(playerid, 26, 500);
    GivePlayerWeapon(playerid, 32, 500);
    SetPlayerHealth(playerid, 100);
    SetPlayerArmour(playerid, 100);
		return 1;
		}
  • Thanks
Reply


Messages In This Thread
[FS-ish] Simplest Duel command - by Quest123 - 29.11.2009, 08:14
Re: [FS-ish] Simplest Duel command - by ImRico - 29.11.2009, 10:08
Re: [FS-ish] Simplest Duel command - by Luka P. - 29.11.2009, 11:38
Re: [FS-ish] Simplest Duel command - by DJDhan - 05.12.2009, 07:28
Re: [FS-ish] Simplest Duel command - by ToPhrESH - 17.04.2011, 18:48
Re: [FS-ish] Simplest Duel command - by Ironboy - 17.04.2011, 19:42

Forum Jump:


Users browsing this thread: 1 Guest(s)