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

[GunXP] Prestige Shop 1.1


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 02-23-2017 , 09:15   [GunXP] Prestige Shop 1.1
Reply With Quote #1



-.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
Attached Files
File Type: sma Get Plugin or Get Source (Prestige_Shop_1.1.sma - 1767 views - 8.5 KB)
File Type: zip Prestige_Shop.zip (7.1 KB, 983 views)
__________________

Last edited by D3XT3R; 04-06-2017 at 13:02. Reason: updated to 1.1
D3XT3R is offline
Send a message via Skype™ to D3XT3R
yas17sin
Veteran Member
Join Date: Oct 2016
Location: Morocco/Sale
Old 02-23-2017 , 11:36   Re: [GunXP] Prestige Shop 1.0
Reply With Quote #2

it would be great if the prestige show with the real hud instead of replacing it.
yas17sin is offline
Send a message via ICQ to yas17sin
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 02-23-2017 , 11:55   Re: [GunXP] Prestige Shop 1.0
Reply With Quote #3

Unapprove this already
__________________
edon1337 is offline
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 02-23-2017 , 12:19   Re: [GunXP] Prestige Shop 1.0
Reply With Quote #4

Quote:
Originally Posted by yas17sin View Post
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 is offline
Send a message via Skype™ to D3XT3R
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 02-23-2017 , 12:20   Re: [GunXP] Prestige Shop 1.0
Reply With Quote #5

Quote:
Originally Posted by edon1337 View Post
Unapprove this already
you not have permission to approve and unpprove plugins ;) only can comment and test and give suggestion ....
__________________
D3XT3R is offline
Send a message via Skype™ to D3XT3R
yas17sin
Veteran Member
Join Date: Oct 2016
Location: Morocco/Sale
Old 02-23-2017 , 12:30   Re: [GunXP] Prestige Shop 1.0
Reply With Quote #6

you can ask him ?
yas17sin is offline
Send a message via ICQ to yas17sin
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 02-23-2017 , 12:32   Re: [GunXP] Prestige Shop 1.0
Reply With Quote #7

Quote:
Originally Posted by yas17sin View Post
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
__________________
D3XT3R is offline
Send a message via Skype™ to D3XT3R
yas17sin
Veteran Member
Join Date: Oct 2016
Location: Morocco/Sale
Old 02-23-2017 , 12:34   Re: [GunXP] Prestige Shop 1.0
Reply With Quote #8

you can make the hud text little smaller and diffrent color it's annoying like that.
yas17sin is offline
Send a message via ICQ to yas17sin
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 02-23-2017 , 12:48   Re: [GunXP] Prestige Shop 1.0
Reply With Quote #9

Quote:
Originally Posted by yas17sin View Post
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]])
__________________
D3XT3R is offline
Send a message via Skype™ to D3XT3R
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 02-23-2017 , 12:55   Re: [GunXP] Prestige Shop 1.0
Reply With Quote #10

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..
__________________
edon1337 is offline
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 17:52.


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