[FilterScript] Weapon specifier - Advanced weapon system.
#1

Weapon specifier - The advanced weapon damage and weapon system

This script contains:
  • Advanced weapon system.
  • Dynamically engineered weapon damage editor.
  • Sophisticated designs, visually sleek and smartly designed.
  • Weapon information such as damage levels, id of weapon and other information on your current weapon statistics.
COMMANDS
Код:
/weaponspecifier - This command displays the main menu of the system in a sleek dialog box.
/weaponstats - This command displays another information box with all statistics of your current weapon.
The script is using ZCMD for command processing.
ZCMD: https://sampforum.blast.hk/showthread.php?tid=91354
DOWNLOAD
http://www.solidfiles.com/d/b0ec64e9f4/

There is no pictures right now as i couldnt get my Photobucket account up, but i asure you it's very nice, definitely go ahead and try it out guys.

Pastebin
http://pastebin.com/uEPHaLxR
Reply
#2

Pastebin?
Reply
#3

Quote:
Originally Posted by Sublime
Посмотреть сообщение
Pastebin?
Added a pastebin.
Reply
#4

What is this? I don't understand.
Reply
#5

Nice !!! +REP
Reply
#6

I don't understand why you've switched to many cases. Why not like this?
pawn Код:
public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid)
{
 //As you've declared it from 0-100 :
 new Float:damagingvar;
 if(DAMAGE[playerid] <= 0) damagingvar = 0.0;
 else if(DAMAGE[playerid] >= 100) damagingvar = 100.0;
 else damagingvar = DAMAGE[playerid];
 new Float:hp;
 GetPlayerHealth(damagedid, hp);
 SetPlayerHealth(damagedid, hp-damagingvar);
 return 1;
}
The rest all seems good, but however, you could make this filterscript much more better.
• It'd also effect the players who are paused.
• It only reduces health, would improve more if it's like normal damages happening.
Reply
#7

Lol you sure know how to "sell" your script", I like it good job!
Reply
#8

Quote:
Originally Posted by Lordz™
Посмотреть сообщение
I don't understand why you've switched to many cases. Why not like this?
pawn Код:
public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid)
{
 //As you've declared it from 0-100 :
 new Float:damagingvar;
 if(DAMAGE[playerid] <= 0) damagingvar = 0.0;
 else if(DAMAGE[playerid] >= 100) damagingvar = 100.0;
 else damagingvar = DAMAGE[playerid];
 new Float:hp;
 GetPlayerHealth(damagedid, hp);
 SetPlayerHealth(damagedid, hp-damagingvar);
 return 1;
}
The rest all seems good, but however, but you could make this filterscript much more better.
• It'd also effect the players who are paused.
• It only reduces health, would improve more if it's like normal damages happening.
Thanks for the suggestions, you can improve it if you like as im already working on something else now. And thank you for the positive comments, this could come in useful if you needed it.
Reply
#9

9/10, u got a rep!
Reply
#10

Quote:
Originally Posted by ViciousRoleplay123
Посмотреть сообщение
9/10, u got a rep!
Appreciated
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)