Raised This Month: $51 Target: $400
 12% 

PUBNite: BattleRoyale MOD - FINAL VERSION RELEASED!!!


Post New Thread Reply   
 
Thread Tools Display Modes
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 05-23-2019 , 13:06   Re: PUBNITE - BattleRoyale (PUBG + FORTNITE) - [NEW VERSION RELEASED]
Reply With Quote #411

It's not a bug.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-23-2019 , 17:12   Re: PUBNITE - BattleRoyale (PUBG + FORTNITE) - [NEW VERSION RELEASED]
Reply With Quote #412

Quote:
Originally Posted by DON KHAN 1 View Post
I Got New Bug In Mod That The RedZone Is Getting Too Much Tiny Even It Got Tiny Where No One Can Survive
That's literally what the point of the game is. Watch some videos on how PUBG and Fortnite matches end.
__________________

Last edited by OciXCrom; 05-23-2019 at 17:13.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
SomeOneBaD.
Junior Member
Join Date: May 2019
Old 05-24-2019 , 15:09   Re: PUBNITE - BattleRoyale (PUBG + FORTNITE) - [NEW VERSION RELEASED]
Reply With Quote #413

I got a suggestion for a new version if you're going to release it, Item Parachute", when you pick it up you can use parachute 1 time and then you have to pick it up again
SomeOneBaD. is offline
totopizza
AlliedModders Donor
Join Date: Oct 2015
Location: Honduras
Old 05-24-2019 , 15:48   Re: PUBNITE - BattleRoyale (PUBG + FORTNITE) - [NEW VERSION RELEASED]
Reply With Quote #414

This will be include in next version
totopizza is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 05-24-2019 , 16:27   Re: PUBNITE - BattleRoyale (PUBG + FORTNITE) - [NEW VERSION RELEASED]
Reply With Quote #415

Yeah, I've added a lot of new items already.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
undead52
Senior Member
Join Date: Dec 2016
Old 05-26-2019 , 19:59   Re: PUBNITE - BattleRoyale (PUBG + FORTNITE) - [NEW VERSION RELEASED]
Reply With Quote #416

There is some bugs, when custom picked up and you drop it , it just removes doesnt appear on ground, and Most times they cannot be picked up.

Also when my inventory is full it says your inv is full but it doesnt take item even if my inventory have space


Ghillie Suit Custom item made with api feel free to use.



PHP Code:
#include <amxmodx>
#include <cstrike>
#include <fakemeta>
#include <hamsandwich>
#include <pubnite_mod>

#define PLUGIN "PUBNite: Ghillie"
#define VERSION "1.0"
#define AUTHOR "Artorias"

#define MAX_MODEL_LENGTH    64

new g_iGhillieSuitID;
new 
bool:g_bHasGhillieSuit[33];
new 
g_szGhillieSuitModel[] = "models/player/ghillie/ghillie.mdl";
new 
g_szGhillieSuitWorldModel[] = "models/w_ghillie.mdl";
new 
g_szOldPlayerModel[32][64];

public 
plugin_init() 
{
    
register_plugin(PLUGINVERSIONAUTHOR);
    
    
RegisterHam(Ham_Spawn"player""ham_PlayerSpawn_Post"1)
    
    
g_iGhillieSuitID pubnite_register_customitem("Ghillie Suit""models/w_ghillie.mdl"5100"hasGhillieSuit");
    if(!
g_iGhillieSuitID)
    {
        
set_fail_state("Couldn't create the Ghillie Suit item, plugin disabled.!");
    }
}

public 
plugin_precache()
{
    
precache_model(g_szGhillieSuitModel);
    
precache_model(g_szGhillieSuitWorldModel);
}

public 
hasGhillieSuit(id, &ret)
{
    
ret g_bHasGhillieSuit[id];
}

public 
pubnite_customitem_dropped(iPlayeriCustomItemID)
{
    if(
iCustomItemID == g_iGhillieSuitID)
    {    
        
g_bHasGhillieSuit[iPlayer] = false;
        
cs_set_user_model(iPlayerg_szOldPlayerModel[iPlayer]);
    }
}

public 
pubnite_customitem_pickedup(iPlayeriEntityIDiCustomItemID)
{
    if((
iCustomItemID == g_iGhillieSuitID) && !g_bHasGhillieSuit[iPlayer])
    {
        
cs_get_user_model(iPlayerg_szOldPlayerModel[iPlayer], charsmax(g_szOldPlayerModel));
        
g_bHasGhillieSuit[iPlayer] = true;
        
cs_set_user_model(iPlayer"ghillie"); 
        
        
//emit_sound(iPlayer, CHAN_ITEM, g_szPickupSound, VOL_NORM, ATTN_NORM, 0, PITCH_NORM);
        
engfunc(EngFunc_RemoveEntityiEntityID);
    }
}

public 
ham_PlayerSpawn_Post(id)
{
    if(
is_user_alive(id) && g_bHasGhillieSuit[id])
    {
        
g_bHasGhillieSuit[id] = false
    
}

Attached Files
File Type: sma Get Plugin or Get Source (PUBNite_GhillieSuit.sma - 268 views - 1.8 KB)
File Type: zip Models.zip (1.51 MB, 47 views)

Last edited by undead52; 05-27-2019 at 04:28.
undead52 is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 05-27-2019 , 16:39   Re: PUBNITE - BattleRoyale (PUBG + FORTNITE) - [NEW VERSION RELEASED]
Reply With Quote #417

You need to recreate the custom item using the native pubnite_create_customitem():

PHP Code:
pubnite_create_customitem(YOUR_ITEM_ID,ITEM_LIFEPLAYER_ID
About the bag issue I didn't get any issues with that, i'll take a look at the code too make sure.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo

Last edited by EFFx; 05-28-2019 at 19:26.
EFFx is offline
undead52
Senior Member
Join Date: Dec 2016
Old 05-27-2019 , 20:04   Re: PUBNITE - BattleRoyale (PUBG + FORTNITE) - [NEW VERSION RELEASED]
Reply With Quote #418

I don't understand what is it's purpose ? pubnite_register_customitem was working right before last update.

Edit: i couldn't picked up my items because hitboxes were wrong. but still doesnt create item again when user drops it.

Last edited by undead52; 05-27-2019 at 20:39.
undead52 is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 05-27-2019 , 22:17   Re: PUBNITE - BattleRoyale (PUBG + FORTNITE) - [NEW VERSION RELEASED]
Reply With Quote #419

There are some items that I didn't want to recreate it when you drop, so that's why I've made it optional.
And again, to fix the issue you've mentioned twice, use the native.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 05-28-2019 , 19:30   Re: PUBNITE - BattleRoyale (PUBG + FORTNITE) - [NEW VERSION RELEASED]
Reply With Quote #420

Updated to v2.5

- New features

- Added new items:
Code:
- Jetpack ~ you guys know that
- RPG ~ you guys know that
- Glider - Gives you X extra parachutes
- Slurp - Regenerates X hp.
- Launchpad - Impulse players upwards.
- Added a new forward: pubnite_noregistered_weapon()
- Added a new natives:
PHP Code:
native pubnite_force_knockout(iVictimiAttacker)
native pubnite_able_to_knockout(iVictim)
native pubnite_set_user_parachute(idbool:bSetParachutebool:bDeployParachute false)
native pubnite_get_user_parachute(id)
native pubnite_has_round_ended()
native pubnite_reset_team_array()
native pubnite_change_customitem_life(iCustomItemIDiNewLifeValue)
native pubnite_change_customitem_rarity(iCustomItemIDiNewRarityValue)
native pubnite_get_user_vbucks(id)
native pubnite_set_user_vbucks(idiVBucksValue
- Added a @all parameter in pubnite_set_wins and pubnite_give_item commands.
- Added a code which prints the hud damage when the damage was given by an entity with pev_owner value.
- Added ALL weapon names support.
- Added a code which prevents points that made the supply box get stuck in the air.
- Added a new option on the Configurations menu: 3D Camera.
- Added VBucks system.
- Added KNIFE SKINS and PLAYER SKINS shop which can be bought with VBucks..

- Fixes

- Players were able to drop a custom item on the new round by saving the 'drop' page.
- Players were able to pickup customized items while knocked out.
- Fixed some codes format.
- Knocked players were able to follow the teammate who used the guspe.
- Fixed some formats inside the PUBNite_CustomItens plugin.
- The spec num message didn't get removed when there are no players watching you anymore.
- Fixed the 'pubnite_make_teams' command.
- Fixed the whole lang file (used https://lab.xpaw.me/langanalyzer)

- Changes

- Clamped the set_task value for spawn entities with MIN_SPAWNS_PER_ROUND.
- Changed the format to check if the weapon is registered.
- Changed the wall spawn feature from prethink to cmdstart.
- Now players need to take 70% of the victim health to receive the kill count when the victim kills himself.
- After the player's suicide, the most damager will only get the kill count if the death have been done X seconds before the death.
- Removed the Punch Skin plugin.

Observation about Jetpack and RPG item: Both are funny items, but in combo they're too overpowered, so I've limited it - you can only use one of them.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo

Last edited by EFFx; 06-06-2019 at 21:10.
EFFx is offline
Old 05-29-2019, 10:09
forlife
This message has been deleted by forlife.
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 06:06.


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