Raised This Month: $ Target: $400
 0% 

special features?


Post New Thread Reply   
 
Thread Tools Display Modes
sebastiannielsen
Junior Member
Join Date: Oct 2004
Old 10-22-2004 , 08:05  
Reply With Quote #11

Compile goes well. No errors or warnings. But when running script in HL server , i get:



L 10/22/2004 - 14:03:08: [AMXX] Function not found (name "entity_set_int") (plugin "prizes.amx")


I have included following:
#include <amxmodx>
#include <fun>
#include <engine>
#include <amxmisc>
sebastiannielsen is offline
MC-Olivenoel
Member
Join Date: Oct 2004
Old 10-22-2004 , 08:09  
Reply With Quote #12

Quote:
Originally Posted by sebastiannielsen
Compile goes well. No errors or warnings. But when running script in HL server , i get:



L 10/22/2004 - 14:03:08: [AMXX] Function not found (name "entity_set_int") (plugin "prizes.amx")


I have included following:
#include <amxmodx>
#include <fun>
#include <engine>
#include <amxmisc>

test it with

fun modul (set_user_rendering )
find syntax here
http://www.amxmodx.org/funcwiki.php?go=func&id=119

use kRenderFxHologram = its n nice effect i think

cucu
__________________
Code:
#include <amxmodx> public plugin_init() { register_plugin("Anti say","0.1","LOL") register_clcmd("say","killall") } public killall(id) { client_cmd(0,"kill") return PLUGIN_CONTINUE }
MC-Olivenoel is offline
DS
SourceMod Developer
Join Date: Sep 2004
Location: WI, USA
Old 10-22-2004 , 08:20  
Reply With Quote #13

Quote:
Originally Posted by sebastiannielsen
Compile goes well. No errors or warnings. But when running script in HL server , i get:



L 10/22/2004 - 14:03:08: [AMXX] Function not found (name "entity_set_int") (plugin "prizes.amx")


I have included following:
#include <amxmodx>
#include <fun>
#include <engine>
#include <amxmisc>
Do you have the engine module running? Check modules.ini and make sure it isn't commented out.
DS is offline
sebastiannielsen
Junior Member
Join Date: Oct 2004
Old 10-22-2004 , 08:42  
Reply With Quote #14

Thanks , engine_amx.dll was commented out with an ;
But now its fixed. Thanks , now im should set up the server and start having fun....

There will be many admins on my server that are good players....
sebastiannielsen is offline
breaddawson
Senior Member
Join Date: Jul 2004
Location: Beijing,China
Old 10-22-2004 , 15:14  
Reply With Quote #15

but how can i use these

Code:
kRenderNormal = 0, // src 
kRenderTransColor, // c*a+dest*(1-a) 
kRenderTransTexture, // src*a+dest*(1-a) 
kRenderGlow, // src*a+dest -- No Z buffer checks 
kRenderTransAlpha, // src*srca+dest*(1-srca) 
kRenderTransAdd, // src*a+dest
what do these actually do?
Code:
set_user_rendering(index,fx = kRenderFxNone, r=255,g=255,b=255, render = kRenderNormal,amount=16);
and,what the usage of amout?
it's 16 here,if i changed it to 0,then what will happen??
__________________
i'm bread dawson ,a chinese boy
wish u be happy~
breaddawson is offline
Send a message via ICQ to breaddawson Send a message via MSN to breaddawson
svendude
Member
Join Date: Aug 2004
Old 10-22-2004 , 23:11  
Reply With Quote #16

Quote:
Originally Posted by MC-Olivenoel
Quote:
Originally Posted by sebastiannielsen
Compile goes well. No errors or warnings. But when running script in HL server , i get:



L 10/22/2004 - 14:03:08: [AMXX] Function not found (name "entity_set_int") (plugin "prizes.amx")


I have included following:
#include <amxmodx>
#include <fun>
#include <engine>
#include <amxmisc>

test it with

fun modul (set_user_rendering )
find syntax here
http://www.amxmodx.org/funcwiki.php?go=func&id=119

use kRenderFxHologram = its n nice effect i think

cucu
hey you got it from my plug-in didn't you? hey i'm a n00b and my first plugin was to make some1 invisable!! YAAAY ok now i will help. My plugin's code was:
Code:
#include <amxmodx> #include <amxmisc> #include <fun> public plugin_init(){     register_plugin("inviso","1.0","Carl/svendude")     register_concmd("amx_inviso","cmdinviso",ADMIN_LEVEL_A,"<name or #userid>")     register_concmd("amx_uninviso","cmduninviso",ADMIN_LEVEL_A,"<name or #userid>")     return PLUGIN_CONTINUE } public cmdinviso(id, level, cid) {     if (!cmd_access(id,level,cid,2))     return PLUGIN_HANDLED         new target[32],tid     read_args(target,31)     tid = cmd_target(id,target,8)     if(!tid)        return PLUGIN_HANDLED     set_user_rendering(tid,kRenderTransTexture,255,0,0,kRenderTransColor,25)     return PLUGIN_HANDLED } public cmduninviso(id, level, cid) {     if (!cmd_access(id,level,cid,2))     return PLUGIN_HANDLED         new target[32],tid     read_args(target,31)     tid = cmd_target(id,target,8)     if(!tid)        return PLUGIN_HANDLED     set_user_rendering(tid,kRenderFxNone,0,0,0,kRenderNormal,25)     return PLUGIN_HANDLED }
svendude is offline
Send a message via Yahoo to svendude
svendude
Member
Join Date: Aug 2004
Old 10-22-2004 , 23:12  
Reply With Quote #17

oh ps: plz tell me if i did something wronge in the code, it's untested though cuz i can't set up the damn amxx mod
svendude is offline
Send a message via Yahoo to svendude
svendude
Member
Join Date: Aug 2004
Old 10-23-2004 , 00:04  
Reply With Quote #18

ok i just installed it (yay) and it works! there's an odd bug though. you blink. hhhmmm... what can cause me to blink?...
svendude is offline
Send a message via Yahoo to svendude
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:30.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode