• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Filterscript] PortalGun
#1
Hello, I would like to present you the Portal Gun Script



Video:

https://www.youtube.com/watch?v=pHGUVNh9y3c

https://www.youtube.com/watch?v=wDBgtBY-cPs



Download:

PortalGun.inc

3DTryg.inc

ColAndreas Plugin



Installation:

Code:
#include <3DTryg> #include <PortalGun>



Functions:

Code:
TogglePrivatePortalGun(bool:toggle);? ? ? ? ? ? //default: false bool:IsTogglePrivatePortalGun(); ToggleUseTeamPortalGun(bool:toggle);? ? ? ? ? ? //default: false bool:IsToggleUseTeamPortalGun(); TogglePortalGunForAll(bool:toggle);? ? ? ? ? ? //default: true bool:IsTogglePortalGunForAll(); TogglePortalGunForPlayer(playerid,toggle);? ? ? //default: 0 IsTogglePortalGunForPlayer(playerid); Float:GetPortalGunSpeed(playerid); SetPortalGunSpeed(playerid,Float:speed); Float:GetPortalGunStreamDistance(); SetPortalGunStreamDistance(Float:streamdistance); ForceOpenPortalGunRing(playerid,portal_id,Float:ox,Float:oy,Float:oz,Float:tx,Float:ty,Float:tz,worldid,interiorid); ForceClosePortalGunRing(playerid);



Activation:

Code:
Weapon: Country Rifle Y - Change Ring



Notice:

Filterscript not exist because filterscripts have limits.

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