NATIVE ERROR!!!!!!!!
Hello, me again...
Ive got a NATIVE ERROR on set_user_health.. I wish bot have 999999hp PHP Code:
|
Re: NATIVE ERROR!!!!!!!!
Why do you return plugin? Give me a look at the rest of it. And are you sure you want 99999 HP? Pretty lazy though.
|
Re: NATIVE ERROR!!!!!!!!
Code:
#include <amxmodx> |
Re: NATIVE ERROR!!!!!!!!
You might not want to set user health to 999999
You can crash the user from overloading use set_user_godmode(id, 1/0) or a lower life |
Re: NATIVE ERROR!!!!!!!!
Thanks, you see I want to make that many hp I cant to kill a bot.... Well it is kind of training to me... he shoots at me, Im at him, a lot of blood...... etc.
The game is not crashing couse I made a client_cmd with 999999hp everythink is ok... But... Bot cannot write the command in console :) By the way, god mode is a bit wrong for me, couse I dont see I hit him or not ... Its like the shooting to high ping player .. Deviance, plugin is not working =[ but without errors .. |
Re: NATIVE ERROR!!!!!!!!
#include <amxmodx>
#include <amxmisc> #include <fun> #define PLUGIN "Plugin" #define VERSION "1.0" #define AUTHOR "Author" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_event("HLTV", "RoundStart", "a", "1=0", "2=0") } public RoundStart() { new players[1], num get_players(players, num, "d") new player for(new i=0;i<num;i++) { player = players[i] client_print(player, print_chat, "YOU HAVE MUCH HP!") set_user_health(player, 999999) } |
Re: NATIVE ERROR!!!!!!!!
Error came while compiling
Quote:
|
Re: NATIVE ERROR!!!!!!!!
your life intenger is too long to compile...
|
Re: NATIVE ERROR!!!!!!!!
Hmmmm... But this plugin work good for me:
PHP Code:
|
Re: NATIVE ERROR!!!!!!!!
Quote:
|
| All times are GMT -4. The time now is 06:45. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.