29.11.2009, 08:14
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:
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