Raised This Month: $ Target: $400
 0% 

RPGx - RPG Mod for Counter-Strike


Post New Thread Reply   
 
Thread Tools Display Modes
RuRuRu612754
Senior Member
Join Date: Sep 2011
Old 02-02-2012 , 03:46   Re: RPGx - RPG Mod for Counter-Strike
Reply With Quote #61

However, it fails to compile

PHP Code:
#pragma semicolon 1

#include <amxmodx>
#include <engine>
#include <fakemeta_util>
#include <rpgx>

new upgrade_idlevelweaponidentstr[16], Float:reload_delayweapon[32], bool:is_reloading;

public 
plugin_init(){
    
register_plugin("Reload Speed+ RPGx Upgrade""1.0""roflmao456+Foghrye4");
}
  
public 
RPGx_OnPluginReady()
    
upgrade_id RPGx_MakeUpgrade("Reload+"51520);

public 
client_PreThink(id){
    
level RPGx_GetUpgradeLevel(idupgrade_id);
    if(
level){
        
weaponid get_user_weapon(id);
        if(
weaponid){
            
get_weaponname(weaponidweapon31);
            
ent fm_find_ent_by_owner(-1weaponid);
            if(
ent){
            
reload_delay get_pdata_float(id834);
        
is_reloading = (reload_delay 0.0) &&  (get_pdata_int(ent544) > 0);
                if(
is_reloading){
        
set_pdata_float(id83reload_delay - (reload_delay * (level 0.01)), 4);
             }
        }
        }
 }

RuRuRu612754 is offline
007.
New Member
Join Date: Mar 2012
Old 03-05-2012 , 12:40   Re: RPGx - RPG Mod for Counter-Strike
Reply With Quote #62

roflmao456,
Can you make it work with podbot
so, bot can upgrade too...

thx

NICE PLUGIN

Last edited by 007.; 03-05-2012 at 12:45.
007. is offline
bazhenov93
Veteran Member
Join Date: Oct 2010
Old 03-05-2012 , 22:25   Re: RPGx - RPG Mod for Counter-Strike
Reply With Quote #63

Quote:
Originally Posted by 007. View Post
roflmao456,
Can you make it work with podbot
so, bot can upgrade too...

thx

NICE PLUGIN
i'm currently testing this plugin, and it work with podbot!
bazhenov93 is offline
Bence98007
Member
Join Date: Jun 2012
Old 06-30-2012 , 13:44   Re: RPGx - RPG Mod for Counter-Strike
Reply With Quote #64

Video?
Bence98007 is offline
striker07
Veteran Member
Join Date: Mar 2012
Location: Solar System/Earth/Belgi
Old 07-08-2012 , 14:50   Re: RPGx - RPG Mod for Counter-Strike
Reply With Quote #65

roflmao, can you make a multijump upgrade with definable max levels and possibly cost per level ?
it's the only upgrade missing that i can think of

[URL="http://forums.alliedmods.net/showthread.php?t=10159&highlight=multijump"
__________________

Working on:
[CSGO/CSS] Mmorpg - an extensive XP/level modulair platform
Progress: [♣♣♣♣♣♣♣|♣♣♣]
striker07 is offline
striker07
Veteran Member
Join Date: Mar 2012
Location: Solar System/Earth/Belgi
Old 07-15-2012 , 16:35   Re: RPGx - RPG Mod for Counter-Strike
Reply With Quote #66

I guess roflmao isnt supporting anymore,
anyway I made it myself, to who's intrested il post the code so you guys can add it to (just make sure to change the MAX_UPGRADES to 17 instead of 16 inside the rpx.sma

PHP Code:
#pragma semicolon 1
#include <amxmodx>
#include <engine>
#include <cstrike>
#include <fun>
#include <rpgx>
#define jumps 
new upgrade_id;
new 
level;
new 
bool:dojump[33] = false;
new 
jumpnum[33];
public 
plugin_init()
 
register_plugin("Multijump RPGx Upgrade""2.1""Sky-High");
public 
RPGx_OnPluginReady()
 
upgrade_id RPGx_MakeUpgrade("MultiJump"23530);
 
public 
client_PreThink(id)
{
 if(
is_user_alive(id))
 {
  new 
buttons get_user_button(id);
  new 
obut get_user_oldbutton(id);
 
  
level RPGx_GetUpgradeLevel(idupgrade_id);
 
  if(
level 0)
  {
   if((
buttons IN_JUMP) && !(get_entity_flags(id) & FL_ONGROUND) && !(obut IN_JUMP))
   {
    if(
jumpnum[id] < level)
    {
     
dojump[id] = true;
     
jumpnum[id]++;
     return 
PLUGIN_CONTINUE;
    }
   }
   if((
buttons IN_JUMP) && (get_entity_flags(id) & FL_ONGROUND))
    
jumpnum[id] = 0;
  }
 }
 return 
PLUGIN_CONTINUE;
}
public 
client_PostThink(id)
{
 if(
is_user_alive(id))
 {
  if(
dojump[id] == true)
  {
   new 
Float:velocity[3];
   
entity_get_vector(id,EV_VEC_velocity,velocity);
   
velocity[2] = random_float(265.0,285.0);
   
entity_set_vector(id,EV_VEC_velocity,velocity);
   
dojump[id] = false;
   return 
PLUGIN_CONTINUE;
  }
 }
 return 
PLUGIN_CONTINUE;

__________________

Working on:
[CSGO/CSS] Mmorpg - an extensive XP/level modulair platform
Progress: [♣♣♣♣♣♣♣|♣♣♣]
striker07 is offline
DonKisgot
Senior Member
Join Date: Dec 2010
Old 12-31-2013 , 22:35   Re: RPGx - RPG Mod for Counter-Strike
Reply With Quote #67

Does anyone still interested in with this cool plugin ? if you say yes , so can you pleasemake an upgrade like ;

- Armor -

Max Upgrade : 5 | Credits Required : LVL 1 : 5 | LVL 2 : 7 | LVL 3 : 10 | LVL 4 : 15 | LVL 5 : 22

Giving Player "X" Amount Of Armor "Every Respawn (Not round start.)"

Amount Of Armor By Level ( 10 | 20 | 40 | 60 | 100)

if you can say "ı can make new upgrades to this plugin" so pm me for more suggestions
DonKisgot is offline
eV1L
Junior Member
Join Date: Feb 2014
Old 02-03-2014 , 00:19   Re: RPGx - RPG Mod for Counter-Strike
Reply With Quote #68

Somebody help me pls i compailed .sma to the .amx and installed them but when i say /rpg nothing happens what is wrong ???? Any way i play with bots that mean OFFLINE !

THIS IS ERROR LOG

L 02/03/2014 - 06:11:59: [AMXX] Run time error 10 (plugin "rpgx_upgrade_longjump.amxx") (native "RPGx_GetUpgradeLevel") - debug not enabled!
L 02/03/2014 - 06:11:59: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 02/03/2014 - 06:11:59: Called dynanative into a paused plugin.
L 02/03/2014 - 06:11:59: [AMXX] Run time error 10 (plugin "rpgx_upgrade_recoil-.amxx") (native "RPGx_GetUpgradeLevel") - debug not enabled!
L 02/03/2014 - 06:11:59: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 02/03/2014 - 06:11:59: Called dynanative into a paused plugin.
L 02/03/2014 - 06:11:59: [AMXX] Run time error 10 (plugin "rpgx_upgrade_speedshoot+.amxx") (native "RPGx_GetUpgradeLevel") - debug not enabled!
L 02/03/2014 - 06:11:59: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).

So can somebody tell me what to do ??????????????????

Last edited by eV1L; 02-03-2014 at 00:19.
eV1L is offline
striker07
Veteran Member
Join Date: Mar 2012
Location: Solar System/Earth/Belgi
Old 02-08-2014 , 06:40   Re: RPGx - RPG Mod for Counter-Strike
Reply With Quote #69

- debug not enabled!
L 02/03/2014 - 06:11:59: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 02/03/2014 - 06:11:59: Called dynanative into a paused plugin.

you have rpgx paused for some reason...
Type in server console amx_plugins to see whats running

Also seeing you play local, you should take a look at the settings to save xp and levels since you probably dont have an sql database set up for it
__________________

Working on:
[CSGO/CSS] Mmorpg - an extensive XP/level modulair platform
Progress: [♣♣♣♣♣♣♣|♣♣♣]
striker07 is offline
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 19:19.


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