Problem: with TE_DLIGHT 27
Code:
public worldlight(id, level, cid)It does this once i reched the part where i input the BLUE in the console Radius, red,green = no crash when i press button radius, red,green, BLUE = crash when i press button |
you do:
amx_command Chr 52 255 0 CRASH? While you are typing the command the server crashes? And what is the "user" variable for? It appears to me that you don't use it in the snippet you gave us. |
Code:
He uses it for that, but I'm not sure if it relates to anything else. |
This is the snippet i use.
what i do in console is this .fx.fxWorldLight (the i press enter so i get these displayed radius], [red], [green], [blue], [brightness], [float:lifetime], [float:decayrate]) then i type again .fx.fxWorldLight but with 10 then i press enter and nothing happens i do the same again .fx.fxWorldLight 10 255 and i press enter nothing happens .fx.fxWorldLight 10 255 0 = nothing happen after pressed .fx.fxWorldLight 10 255 0 0 = crash It crashes everytime on the fourth Number when i enter it or more then four. ______ if i dont use read_argv(0, user, 32) i get an compile warning/error |
This is how i use it atm
Dont mide the unused includes, cause there is more whre is going to be used. Code:
#include <amxmodx> |
use the small tag instead of the code tag to display your plugin source
|
:D
Lol sry but i didnt understand that. im not an pro in coding at all :oops: . can you make an snippet ? |
Code:
Code:
Code:
http://upload.wikimedia.org/wikipedi...r_fireball.jpg |
ok i change the 5 to 8
Now i dont crash anymore when it comes to color blue. ^^ BUT when i type an higher number then 20 in Decayrate spot i get thrown out again in to the gamestartup screen it says something with BadServerParseMessage or something like this. BUT when it works the effect only stays for an short amount no matter how much time i put in. =O i want these Fields customizable when i type them in the console ^^ |
Anyone knows how to make that better ?
And so that the Effect doesnt dissapear after 0.5 seconds ? ___ never mind i found that out now :o |
| All times are GMT -4. The time now is 20:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.