[FilterScript] Magic Wand (Extended Weapon)
#1

Hello, I would like to present you the Magic Wand Script

Video:
https://www.youtube.com/watch?v=aaHfVz-UxR8

Download:
Magic.inc
3DTryg.inc Thread
ColAndreas Plugin

Installation:
PHP Code:
#include <ADM/3DTryg>
#include <Magic> 
Functions:
PHP Code:
ToggleUseTeamMagicShoot(bool:toggle);            //default: false
bool:IsToggleUseTeamMagicShoot();
ToggleMagicShootForAll(bool:toggle);             //default: false
bool:IsToggleMagicShootForAll();                  
ToggleMagicShootForPlayer(playerid,bool:toggle); //default: false
bool:IsToggleMagicShootForPlayer(playerid);
Float:GetMagicShootDamage(playerid);
SetMagicShootDamage(playerid,Float:amount);
Float:GetMagicShootSpeed(playerid);
SetMagicShootSpeed(playerid,Float:speed);
Float:GetMagicShootRange(playerid);
SetMagicShootRange(playerid,Float:range);
GetMagicShootAmmo(playerid);
SetMagicShootAmmo(playerid,ammo);

SetMagicProjectile(playerid,modelid=18693,Float:rx=90.0,Float:ry=0.0,Float:rz=0.0,Float:offx=0.0,Float:offy=0.0,Float:offz=0.0);
GetMagicProjectile(playerid,&modelid,&Float:rx=0.0,&Float:ry=0.0,&Float:rz=0.0,&Float:offx=0.0,&Float:offy=0.0,&Float:offz=0.0); 
Callbacks:
PHP Code:
OnPlayerRequestMagicShot(playerid,targetid); //return 0 - prevent to use knife shoot (this callback is called also if ammo is 0) 
Definitions:
PHP Code:
MAGIC_SPEED
MAGIC_MAX_RADIUS
MAGIC_REFRESH_ACTION
MAGIC_DAMAGE
MAGIC_WEAPON_AMMO_INFINITY 
Activation:
PHP Code:
WeaponFist
Left Mouse Button 
Notice:

Filterscript not exist because filterscripts have limits.

This has been replaced by include, having automatic installation, efficient GameMode/FilterScript.


Non-Registered Users:
Bug Report
Reply
#2

Good job, but I had a suggestion for this system.


Add more weapons maybe? For example, you can throw only fire as far as I see, make it that you can throw water aswell, etc.
Reply
#3

Another good release, it's pretty cool!

add some object to throw, not only fire
Reply
#4

Update v1.1.0:


- Added functions:
PHP Code:
Float:GetMagicShootDamage(playerid);
SetMagicShootDamage(playerid,Float:amount);
Float:GetMagicShootSpeed(playerid);
SetMagicShootSpeed(playerid,Float:speed);
Float:GetMagicShootRange(playerid);
SetMagicShootRange(playerid,Float:range);

SetMagicProjectile(playerid,modelid=18693,Float:rx=90.0,Float:ry=0.0,Float:rz=0.0,Float:offx=0.0,Float:offy=0.0,Float:offz=0.0);
GetMagicProjectile(playerid,&modelid,&Float:rx=0.0,&Float:ry=0.0,&Float:rz=0.0,&Float:offx=0.0,&Float:offy=0.0,&Float:offz=0.0); 
Reply
#5

Update v1.1.1:

- Fixed latest update bugs (Weapon not working).
Reply
#6

Good job!
Reply
#7

Haha that's awesome
Reply
#8

Harry Potter Roleplay coming soon?

Jokes aside, very nice haha, funny thing to script!
Reply
#9

Quote:
Originally Posted by Hansrutger
View Post
Harry Potter Roleplay coming soon?


Jokes aside, very nice haha, funny thing to script!
I was finding a name for my server.

OT: Awesome work looks dope.
Reply
#10

That is nice and original idea!
How about locking angular velocity so that car cant spin all around after you open parachute.
Reply
#11

Quote:
Originally Posted by DRIFT_HUNTER
Посмотреть сообщение
That is nice and original idea!
How about locking angular velocity so that car cant spin all around after you open parachute.
Wrong thread XD
Reply
#12

Update v1.2.0:

- Added Functions:
PHP код:
GetMagicShootAmmo(playerid);
SetMagicShootAmmo(playerid,ammo); 
- Added Callbacks:
PHP код:
OnPlayerRequestMagicShot(playerid,targetid); //return 0 - prevent to use magic shoot (this callback is called also if ammo is 0) 
- Added Definitions:
PHP код:
MAGIC_WEAPON_AMMO_INFINITY 
Reply
#13

Quote:
Originally Posted by KatarinaCalzaghe
Посмотреть сообщение
Update v1.2.0:

- Added Functions:
PHP код:
GetMagicShootAmmo(playerid);
SetMagicShootAmmo(playerid,ammo); 
- Added Callbacks:
PHP код:
OnPlayerRequestMagicShot(playerid,targetid); //return 0 - prevent to use magic shoot (this callback is called also if ammo is 0) 
- Added Definitions:
PHP код:
MAGIC_WEAPON_AMMO_INFINITY 
Ban evading much?
Reply
#14

Haha, intresting bro +
Reply
#15

lol whats this
Reply
#16

Damn, that looks cool.
Reply
#17

Can somebody reupload the latest version ?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)