[Code]Blob FX

YEA
✔️ HL Verified
Joined
Oct 31, 2014
Messages
200
Best answers
0
What is Blob?
This is Blob, and i call it "Ki Blob":
http://i.imgur.com/Jrd9YYr.png

This is Blob too, and i call it "Ki Shield":
http://i.imgur.com/LkrmfBa.png

How to use Blob?
BlobFx has three messages, and you can send the messages to create, update or kill a BlobFx


BlobFx Messages:

BlobStart
Code:
#include < amxmodx >

public plugin_init( )
{
	register_message( get_user_msgid( "BlobStart" ), "@BlobStart" );
}

@BlobStart( MsgID, dest )
{
/**
1 - BYTE - Type
2 - COORD - X
3 - COORD - Y
4 - COORD - Z
5 - SHORT - Weapon
6 - SHORT - Range
---------------
Blob Type List:
0 - Ki Shield
1 - Ki Blob
---------------
**/
}
BlobUpdate
Code:
#include < amxmodx >

public plugin_init( )
{
	register_message( get_user_msgid( "BlobUpdate" ), "@BlobUpdate" );
}

@BlobUpdate( MsgID, dest )
{
/**
1 - SHORT - Range
2 - SHORT - Weapon
**/
}
BlobKill
Code:
#include < amxmodx >

public plugin_init( )
{
	register_message( get_user_msgid( "BlobKill" ), "@BlobKill" );
}

@BlobKill( MsgID, dest )
{
/**
1 - SHORT - Weapon
2 - SHORT - Range
**/
}
 
Last edited:
NOT IN THE MANGA™
★ Black Lounger ★
✔️ HL Verified
🚂 Steam Linked
💻 Oldtimer
Joined
Jan 5, 2008
Messages
3,276
Best answers
0
Just so you know, "@" in fuction name means "public", so the "public" prefix is unnecessary.

PHP:
public @BlobKill(msg, dest) {} // public function because of "public" and "@"
is the same as
PHP:
@BlobKill(msg, dest) {} // public function because of "@"
but
PHP:
public BlobKill(msg, dest) {} // public function because of "public"
is not the same as
PHP:
BlobKill(msg, dest) {} // private function
 
YEA
✔️ HL Verified
Joined
Oct 31, 2014
Messages
200
Best answers
0
Just so you know, "@" in fuction name means "public", so the "public" prefix is unnecessary.

PHP:
public @BlobKill(msg, dest) {} // public function because of "public" and "@"
is the same as
PHP:
@BlobKill(msg, dest) {} // public function because of "@"
but
PHP:
public BlobKill(msg, dest) {} // public function because of "public"
is not the same as
PHP:
BlobKill(msg, dest) {} // private function
oh i didnt know, thanks, it's cool to know something new
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top