Discuz! Board

标题: [代码|Code]能量区效果|Blob Effect [打印本页]

作者: Jerry小坏    时间: 2017-7-13 16:46
标题: [代码|Code]能量区效果|Blob Effect
What is Blob?This is Blob, and i call it "Ki Blob":




This is Blob too, and i call it "Ki Shield":



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


BlobFx Messages:

  1. #include < amxmodx >

  2. public plugin_init( )
  3. {
  4.         register_message( get_user_msgid( "BlobStart" ), "@BlobStart" );
  5. }

  6. public @BlobStart( MsgID, dest )
  7. {
  8. /**
  9. 1 - BYTE - Type2 - COORD - X3 - COORD - Y4 - COORD - Z5 - SHORT - Weapon6 - SHORT - Range
  10. ---------------
  11. Blob Type List:0 - Ki Shield1 - Ki Blob
  12. ---------------
  13. **/
  14. }
复制代码
BlobStart


  1. #include < amxmodx >

  2. public plugin_init( )
  3. {
  4.         register_message( get_user_msgid( "BlobUpdate" ), "@BlobUpdate" );
  5. }

  6. public @BlobUpdate( MsgID, dest )
  7. {
  8. /**
  9. 1 - SHORT - Range2 - SHORT - Weapon**/
  10. }
复制代码
BlobUpdate


  1. #include < amxmodx >

  2. public plugin_init( )
  3. {
  4.         register_message( get_user_msgid( "BlobKill" ), "@BlobKill" );
  5. }

  6. public @BlobKill( MsgID, dest )
  7. {
  8. /**
  9. 1 - SHORT - Weapon2 - SHORT - Range**/
  10. }
复制代码
BlobKill







欢迎光临 Discuz! Board (https://esfbbs.foxnyx.top/) Powered by Discuz! X3.2