Raised This Month: $77 Target: $400
 19% 

PUBNite: BattleRoyale MOD - V2.6 VERSION RELEASED!!!


Post New Thread Reply   
 
Thread Tools Display Modes
DON KHAN 1
Member
Join Date: Mar 2019
Location: Pakistan
Old 05-23-2019 , 11:27   Re: PUBNITE - BattleRoyale (PUBG + FORTNITE) - [NEW VERSION RELEASED]
Reply With Quote #411

I Got New Bug In Mod That The RedZone Is Getting Too Much Tiny Even It Got Tiny Where No One Can Survive
__________________
DON KHAN 1 is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: SP, Brazil
Old 05-23-2019 , 13:06   Re: PUBNITE - BattleRoyale (PUBG + FORTNITE) - [NEW VERSION RELEASED]
Reply With Quote #412

It's not a bug.
__________________
BattleRoyale Mod
Public PugMod
Furien Mod

-

Currently working on Thanos vs. Avengers: 15%
EFFx is offline
Send a message via Skype™ to EFFx
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 #413

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 #414

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 #415

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

Yeah, I've added a lot of new items already.
__________________
BattleRoyale Mod
Public PugMod
Furien Mod

-

Currently working on Thanos vs. Avengers: 15%
EFFx is offline
Send a message via Skype™ to EFFx
undead52
Senior Member
Join Date: Dec 2016
Old 05-26-2019 , 19:59   Re: PUBNITE - BattleRoyale (PUBG + FORTNITE) - [NEW VERSION RELEASED]
Reply With Quote #417

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 - 46 views - 1.8 KB)
File Type: zip Models.zip (1.51 MB, 3 views)

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

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.
__________________
BattleRoyale Mod
Public PugMod
Furien Mod

-

Currently working on Thanos vs. Avengers: 15%

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

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: SP, Brazil
Old 05-27-2019 , 22:17   Re: PUBNITE - BattleRoyale (PUBG + FORTNITE) - [NEW VERSION RELEASED]
Reply With Quote #420

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.
__________________
BattleRoyale Mod
Public PugMod
Furien Mod

-

Currently working on Thanos vs. Avengers: 15%
EFFx is offline
Send a message via Skype™ to EFFx
Reply


Thread Tools
Display Modes

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 16:20.


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