AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Scout for Hnr (https://forums.alliedmods.net/showthread.php?t=244018)

Eviatar Mor 07-12-2014 17:06

Scout for Hnr
 
hey
i make this mod :
http://pastebin.com/d9eVf6et

and i want my xp will up in hnr mod
but my xp not up in hnr i dont know
why,
but if i play on public my xp will up...
and sorry about my bad english...

Fuck For Fun 07-12-2014 18:52

Re: Scout for Hnr
 
1: You did not build it.
2: you exp based on Scout, where is HNR native?

Eviatar Mor 07-12-2014 19:05

Re: Scout for Hnr
 
Quote:

Originally Posted by Fuck For Fun (Post 2166645)
1: You did not build it.
2: you exp based on Scout, where is HNR native?

http://pastebin.com/f0Dz5M8c

here is the hnr ^^^

Fuck For Fun 07-12-2014 20:06

Re: Scout for Hnr
 
here is Native:
Code:

public plugin_natives(){
        register_library("HitAndRun"); // API libarary support
     
        register_native("hnr_get_infected","_hnr_get_infected");
        register_native("hnr_get_lasthit","_hnr_get_lasthit");
        register_native("hnr_get_winner","_hnr_get_winner");
     
        register_native("hnr_started","_hnr_started");
        register_native("hnr_get_event","_hnr_get_event");
     
        register_native("hnr_get_user_rounds","_hnr_get_user_rounds");
     
        register_native("hnr_get_user_xp","_hnr_get_user_xp");
     
        register_native("hnr_get_user_level","_hnr_get_user_level");

     
        register_native("hnr_get_user_powers","_hnr_get_user_powers");
}

try to add you're self

Eviatar Mor 07-13-2014 04:06

Re: Scout for Hnr
 
Quote:

Originally Posted by Fuck For Fun (Post 2166673)
here is Native:
Code:

public plugin_natives(){
        register_library("HitAndRun"); // API libarary support
     
        register_native("hnr_get_infected","_hnr_get_infected");
        register_native("hnr_get_lasthit","_hnr_get_lasthit");
        register_native("hnr_get_winner","_hnr_get_winner");
     
        register_native("hnr_started","_hnr_started");
        register_native("hnr_get_event","_hnr_get_event");
     
        register_native("hnr_get_user_rounds","_hnr_get_user_rounds");
     
        register_native("hnr_get_user_xp","_hnr_get_user_xp");
     
        register_native("hnr_get_user_level","_hnr_get_user_level");

     
        register_native("hnr_get_user_powers","_hnr_get_user_powers");
}

try to add you're self

dude i add the native my self but when i play the hnr mod not work he say wait to 1 more player but i have 3 players on server.
here the code :
http://pastebin.com/Mw9deqrG

Fuck For Fun 07-13-2014 05:37

Re: Scout for Hnr
 
Quote:

Originally Posted by Eviatar Mor (Post 2166822)
dude i add the native my self but when i play the hnr mod not work he say wait to 1 more player but i have 3 players on server.
here the code :
http://pastebin.com/Mw9deqrG

Try to put the plugin first in plugin.ini

Or maybe u have two hnr mod active

Eviatar Mor 07-13-2014 05:46

Re: Scout for Hnr
 
Quote:

Originally Posted by Fuck For Fun (Post 2166845)
Try to put the plugin first in plugin.ini

Or maybe u have two hnr mod active

but what i do with the native fine ?


All times are GMT -4. The time now is 21:11.

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