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

MOD PUG YAP (4/December/2014)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
kwpd
AlliedModders Donor
Join Date: Mar 2009
Location: panama
Old 12-04-2012 , 20:17   MOD PUG YAP (4/December/2014)
Reply With Quote #1

MOD PUG
(Yet Another PUG)


Videos
http://www.youtube.com/watch?v=jas_VbyXNMs

I have ESEA Premium Account 2011 http://play.esea.net/users/468663 Begun to modify MOD PUG (YAP) from 2011 to like ESEA servers.
Well the modificacione costs $$$



Features:
(Pregame)
- Auto Re-spawn, infinite money
- Protection Re-spawn
- Weapon Restriction Pregame

(LIVE)
- 2nd Half Force Ready (120 Seconds default)
- 2nd Half No Players (10Min. Auto Cancel pug)
- LO3 -- match is live --
- Hostname scores [Hostname - 1st (1-0)]
- Vote Map (Radom. players no vote map)
- Help System (.help)
- Anti Reconnect
- HLTV manager
- Language. EN, ES, BR.
- Remakes .rmk
SERVER TEST:

Client Command:
.rmk <-- when you're new pug, remakes.
.ff /ff .gg /gg .surrender /surrender <-- when you're losing 14-0, surrender
.ftb <-- fadetoblack
.ready .listo .gaben
.dmg .hp .sum
.group .add .accept .leavegroup
.stats .toppug .stats pug
STATUS:
MOD PUG (59%)
Language (33%)
Client 1.0.0 Beta.!
1.0.0 - new search interface. PUG server
Change log Server
Next update
* Fix .dmg no kill team
* Add client_print_color()
* Add .ff .gg /ff /gg (team surrender)
* Add .ftb .fadetoblack (enable fadetoblack )
* Add block Spawm jump and duck
* Optimizes AFK KICK
* Synchronization (Basic Stats Points)
* Rewrites pug_live

Code:
2.3.1
* compatibility 1.8.3-dev-git4393

2.3.0
* Add client Disconnect 5minute reserver
Clieant not connect = banned 7 day
Attached Thumbnails
Click image for larger version

Name:	Hostname.jpg
Views:	1128
Size:	92.0 KB
ID:	125966   Click image for larger version

Name:	HLTV notlive.jpg
Views:	902
Size:	88.7 KB
ID:	125967   Click image for larger version

Name:	MAP VOTE.jpg
Views:	6435
Size:	88.7 KB
ID:	125968   Click image for larger version

Name:	FF.jpg
Views:	2033
Size:	95.2 KB
ID:	125969   Click image for larger version

Name:	LIVE.jpg
Views:	1169
Size:	95.7 KB
ID:	125970  

Attached Files
File Type: zip MOD_PUG_(YAP).zip (1.57 MB, 1124 views)
__________________

Last edited by kwpd; 12-04-2014 at 02:28. Reason: MOD PUG YAP (4/December/2014)
kwpd is offline
micapat
Veteran Member
Join Date: Feb 2010
Location: Nyuu, nyuu (France).
Old 12-04-2012 , 20:54   Re: PUG Respawning
Reply With Quote #2

PHP Code:
public ClientCommand_Post(id)
{
    new 
szCommand[12]
    if( 
equali(szCommand"fullupdate") )
    {
        
set_pdata_float(idm_flNextFullUpdateTimeget_gametime() + get_pcvar_float(g_pCvarFullUpdateCoolDown), XO_PLAYER)
    }

This should be fixed on Cs:1.6 since the latest version.

--------

PHP Code:
if(get_user_team(id) == 1)
{
    
set_user_rendering(idkRenderFxGlowShell000kRenderNormalSPShell)
}
        
if(
get_user_team(id) == 2)
{
    
set_user_rendering(idkRenderFxGlowShell000kRenderNormalSPShell)

???

--------

PHP Code:
new name[32]
get_user_name(id,name,32)
    
return 
PLUGIN_HANDLED 
??? And wrong. Use charsmax.

--------
> Better than remove C4, remove bombsites / hostage / VIP Area / Escape Area.
> spawn( id ); is not a good way to respawn a player.
> give_item( id, "item_suit" ) ?
> Use cs_set_user_bpammo for ammunitions.
> Better to use get_pcvar_* than get_cvar_*.
> Avoid some natives call ( get_user_team called twice, ... ).
> I don't understand why you set the money to 16000 ? The plugin must just respawn players, right ?
> sizeof( x ) - 1 --> charsmax( x )
--------

Seems that you have many coding style ... Some parts are illogical.
Does this kind of plugin doesn't exist ???
__________________
micapat is offline
BLacking98
Veteran Member
Join Date: Oct 2012
Location: California
Old 12-08-2012 , 19:58   Re: PUG Respawning
Reply With Quote #3

Quote:
Originally Posted by kwpd View Post
PUG Respawning
Description
When a player dies resurrects in 3 seconds with a protection of five seconds. and the weapon will be removed from the floor.

Command
respawning_enabled 0=Disable 1=Enable
remove_drop_items 0=Disable 1=Enable
sv_sptime 5
sv_spshellthick 25

Code:
version 2.0.3
* Initial Release
* Add remove weapon
* Add Protection spawn
* Add Block C4, keys 4
* Add set money 16000
* Add Delay Fullupdate
Instalation
1. Copy pug_respawning.amxx to the cstrike/addons/amxmodx/plugins folder
2. Add pug_respawning.amxx to your plugins.ini file
Ok... Ill be the first here...
DEATHMATCH MOD -.-
__________________

Last edited by BLacking98; 12-17-2012 at 08:03.
BLacking98 is offline
kwpd
AlliedModders Donor
Join Date: Mar 2009
Location: panama
Old 01-13-2013 , 04:55   Re: PUG Respawning
Reply With Quote #4

version 2.0.4
* Various internal improvements.
__________________
kwpd is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-13-2013 , 06:29   Re: PUG Respawning
Reply With Quote #5

Plugin is redundant, is badly coded, use wrong method to respawn player, has useless features.
Unapproved.


Edit :
Please don't use prethink for such things as remove some items, also, button has nothing to do with FL_ONGROUND.
Code:
public Fw_Prethink(id)
{     if(get_pcvar_num(Pcvar_RemoveItems))     {
        if(!(pev(id,pev_button) & FL_ONGROUND))
        {                message_begin(MSG_ONE, Iconstatus,{0,0,0},id);             write_byte(0);             write_string("defuser");             message_end();         }     } }

Values for button are :
Code:
// pev(entity, pev_button) or pev(entity, pev_oldbuttons) values
#define IN_ATTACK                       (1<<0)
#define IN_JUMP                         (1<<1)
#define IN_DUCK                         (1<<2)
#define IN_FORWARD                      (1<<3)
#define IN_BACK                         (1<<4)
#define IN_USE                          (1<<5)
#define IN_CANCEL                       (1<<6)
#define IN_LEFT                         (1<<7)
#define IN_RIGHT                        (1<<8)
#define IN_MOVELEFT                     (1<<9)
#define IN_MOVERIGHT                    (1<<10)
#define IN_ATTACK2                      (1<<11)
#define IN_RUN                          (1<<12)
#define IN_RELOAD                       (1<<13)
#define IN_ALT1                         (1<<14)
#define IN_SCORE                        (1<<15)     // Used by client.dll for when scoreboard is held down
FL_ONGROUND is :
Code:
#define	FL_ONGROUND	                    (1<<9)      // At rest / on the ground
So your code is checking :
Code:
if( !(pev(id,pev_button) & IN_MOVELEFT) )
It sounds a bit stupid.
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 01-13-2013 at 06:37.
ConnorMcLeod is offline
kwpd
AlliedModders Donor
Join Date: Mar 2009
Location: panama
Old 01-14-2013 , 04:03   Re: PUG Respawning
Reply With Quote #6

[] [] [] [] [ ] []

version 2.0.5
* FIXED sounds a bit stupid
* Remove Fw_Prethink
__________________

Last edited by kwpd; 01-14-2013 at 04:09.
kwpd is offline
GinNNy
Senior Member
Join Date: Mar 2014
Old 06-19-2014 , 11:24   Re: MOD PUG [YAP] - Yet Another PUG
Reply With Quote #7

does anyone have this pug or ?
GinNNy is offline
kwpd
AlliedModders Donor
Join Date: Mar 2009
Location: panama
Old 09-20-2014 , 02:09   Re: MOD PUG [YAP] - Yet Another PUG
Reply With Quote #8

due to large changes amxmodx 1.8.3
((MAX_PLAYERS define assocaited to get_players.))
tube to recheck all sma PUG
which I had to change many things MAX_PLAYERS which was not associated with get_payers xD
new players [32]: D
__________________
kwpd is offline
GinNNy
Senior Member
Join Date: Mar 2014
Old 09-20-2014 , 10:26   Re: MOD PUG [YAP] - Yet Another PUG
Reply With Quote #9

So where is the plugin ?
GinNNy is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-20-2014 , 10:49   Re: MOD PUG [YAP] - Yet Another PUG
Reply With Quote #10

Quote:
Originally Posted by kwpd View Post
due to large changes amxmodx 1.8.3
((MAX_PLAYERS define assocaited to get_players.))
tube to recheck all sma PUG
which I had to change many things MAX_PLAYERS which was not associated with get_payers xD
new players [32]: D
This is not really a major change.

MAX_PLAYERS is simple a define which is the max players + 1, so 33, because MAX_PLAYERS is always used this way to declare an array.

MaxClients is global variable which holds the servers max slots, basically the same as get_players().

But yeah, if you were defining MAX_PLAYERS to 32 to be used with get_players(), you better either to hardcode 32, or rename the define, it's kind of special case.
__________________
Arkshine 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 04:03.


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