Magic Wand (Extended Weapon) -
AbyssMorgan - 19.02.2017
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:
Weapon: Fist
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
Re: Magic Wand (Extended Weapon) -
TopShooter - 19.02.2017
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.
Re: Magic Wand (Extended Weapon) - justice96 - 19.02.2017
Another good release, it's pretty cool!
add some object to throw, not only fire
Re: Magic Wand (Extended Weapon) -
AbyssMorgan - 22.02.2017
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);
Re: Magic Wand (Extended Weapon) -
AbyssMorgan - 23.02.2017
Update v1.1.1:
- Fixed latest update bugs (Weapon not working).
Re: Magic Wand (Extended Weapon) -
Henrik96 - 24.02.2017
Good job!
Re: Magic Wand (Extended Weapon) -
Freaksken - 24.02.2017
Haha that's awesome
Re: Magic Wand (Extended Weapon) -
Hansrutger - 24.02.2017
Harry Potter Roleplay coming soon?
Jokes aside, very nice haha, funny thing to script!
Re: Magic Wand (Extended Weapon) -
BlackbirdXd - 25.02.2017
Quote:
Originally Posted by Hansrutger
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.
Re: Magic Wand (Extended Weapon) -
DRIFT_HUNTER - 25.02.2017
That is nice and original idea!
How about locking angular velocity so that car cant spin all around after you open parachute.
Re: Magic Wand (Extended Weapon) -
AbyssMorgan - 25.02.2017
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
Re: Magic Wand (Extended Weapon) -
KatarinaCalzaghe - 13.02.2018
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
Re: Magic Wand (Extended Weapon) -
KayJ - 13.02.2018
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?
Re: Magic Wand (Extended Weapon) -
Delorice - 15.02.2018
Haha, intresting bro +
Re: Magic Wand (Extended Weapon) -
P00kie - 15.02.2018
lol whats this
Re: Magic Wand (Extended Weapon) -
Agentbondy43 - 15.02.2018
Damn, that looks cool.
Re: Magic Wand (Extended Weapon) -
Fairuz - 09.06.2018
Can somebody reupload the latest version ?