AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   [GunXP] Prestige Shop 1.1 (https://forums.alliedmods.net/showthread.php?t=294254)

D3XT3R 02-23-2017 09:15

[GunXP] Prestige Shop 1.1
 
2 Attachment(s)
http://img.photobucket.com/albums/v1...22/gxpmod3.png

-.Description.-
To keep the game with gunxpmod more interesting and more difficult to get everything prestige is not sold, and obtained for restart. max level to the max level is innovating and causing level'į over again, you already have a +1 prestige.


-.Suggestion.-
Thinking for shop menu you buy from it some items like parachute for 15 day or some gunxpmod unlocks using prestige for it.

-.Credit.-
xbatista: copied from him gunxpmod alote codes!
Relaxing: for set_prestige idea / cmd!
yas17sin: idea of prestige hud insite real gunxpmod hud!

-.Commands.-
Type in chat: /prs or prs to show prestige shop menu!
Type in chat: /prestige or prestige to show prestige shop menu!
Type in consol set_prestige <name> <ammont> (for admins with flag "l" only


-.ChangeLog.-
Quote:

1.0 Initial release.
Quote:

1.1 fixet hud level (changed him color/ fixing)
Quote:

1.1 added new command for set prestige for admins
Quote:

1.2 ecrased gunxp shop in gunxpmod.sma with hud

-.Introduction.-
1-: only compile sma not by website! and add it to your server!

-.Some Pictures.-
Prestige Shop Menu Picture
http://usercs.net/prss.jpg

yas17sin 02-23-2017 11:36

Re: [GunXP] Prestige Shop 1.0
 
it would be great if the prestige show with the real hud instead of replacing it.

edon1337 02-23-2017 11:55

Re: [GunXP] Prestige Shop 1.0
 
Unapprove this already

D3XT3R 02-23-2017 12:19

Re: [GunXP] Prestige Shop 1.0
 
Quote:

Originally Posted by yas17sin (Post 2497798)
it would be great if the prestige show with the real hud instead of replacing it.

nice idea i was wanna do it but its need edite original plugin of gunxpmod of xbatista and we need him permission

D3XT3R 02-23-2017 12:20

Re: [GunXP] Prestige Shop 1.0
 
Quote:

Originally Posted by edon1337 (Post 2497806)
Unapprove this already

you not have permission to approve and unpprove plugins ;) only can comment and test and give suggestion .... :grrr:

yas17sin 02-23-2017 12:30

Re: [GunXP] Prestige Shop 1.0
 
you can ask him ?

D3XT3R 02-23-2017 12:32

Re: [GunXP] Prestige Shop 1.0
 
Quote:

Originally Posted by yas17sin (Post 2497817)
you can ask him ?

he not answer so what i can do only stay this plugin like is it now and wait for new realise version whitch have good hud of presitge and power shop

yas17sin 02-23-2017 12:34

Re: [GunXP] Prestige Shop 1.0
 
you can make the hud text little smaller and diffrent color it's annoying like that.

D3XT3R 02-23-2017 12:48

Re: [GunXP] Prestige Shop 1.0
 
Quote:

Originally Posted by yas17sin (Post 2497821)
you can make the hud text little smaller and diffrent color it's annoying like that.

okay do some thing to be have good hud,
go to yours main gunxpmod of xbatista
gunxpmod.sma
go to line 456 and remove it

Code:

ShowSyncHudMsg(id, g_msgHudSync1 , "%L", LANG_SERVER, "LEVEL_HUD_TEXT", PlayerLevel[id], PlayerXp[id], LEVELS[PlayerLevel[id]], RANK[PlayerLevel[id]], RANKLEVELS[PlayerLevel[id]])

edon1337 02-23-2017 12:55

Re: [GunXP] Prestige Shop 1.0
 
1. dproto installed.
2. Using Fakemeta Util is wrong.
3. Use style 0 of natives.
4. You can create
PHP Code:

new PrestigeCost 

before switch so you don't need to create it many times.
5.
PHP Code:

for(id 1id <= get_maxplayers(); id++) { 

Cache get_maxplayers on plugin_init.
6.
PHP Code:

if(is_user_alive(id) && is_user_connected(id)) 

No need to check is_user_connected.
7. Use nVault for saving.
8. Why are you using a HudMessage stock?
9. Indent your code properly.
10. Ultimately redundant plugin, bad idea and awful code.

Cya..


All times are GMT -4. The time now is 10:56.

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