This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[Help Req] Round Money


Post New Thread Reply   
 
Thread Tools Display Modes
DeathOrAlive
Member
Join Date: Sep 2015
Location: Sofia, Bulgaria
Old 09-11-2015 , 06:39   Re: [Help Req] Round Money
Reply With Quote #11

So I managed to do it with "HamSandwich", but it gives money on the first map round too when everyone has like 800$. How can I make it start giving the money after the first map round?
__________________
Mess with the best, die like the rest!

Quote:
Originally Posted by aron9forever View Post
You're trying to run 11 servers on each core?
You're bringing the word retard to a new level.
DeathOrAlive is offline
Send a message via Skype™ to DeathOrAlive
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 09-11-2015 , 06:50   Re: [Help Req] Round Money
Reply With Quote #12

Here is the tips (can't do the code right now since i am at work)
at start of plugin do new bool:g_bFirstRound
register_logevent of round start
hook the restart and game starting messages

At round start event put the bool false: g_bFirstRound = false
At restart & gamestart put the bool true: g_bFirstRound = true

Then hook player spawn with hamsandwich and check the bool status. If the bool is true, return. If the bool is false, give the money.
__________________
Jhob94 is offline
DeathOrAlive
Member
Join Date: Sep 2015
Location: Sofia, Bulgaria
Old 09-11-2015 , 07:13   Re: [Help Req] Round Money
Reply With Quote #13

Thank you Jhob, I will try to do it now, if I have problems, I will update later

So I tried but since I'm a new coder and I have problems with doing almost everything, my try went like this:

Much bad, error, very fail, error, such lol, error....
__________________
Mess with the best, die like the rest!

Quote:
Originally Posted by aron9forever View Post
You're trying to run 11 servers on each core?
You're bringing the word retard to a new level.

Last edited by DeathOrAlive; 09-11-2015 at 07:43.
DeathOrAlive is offline
Send a message via Skype™ to DeathOrAlive
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 09-11-2015 , 09:13   Re: [Help Req] Round Money
Reply With Quote #14

Then upload what you have done so someone can telll you what you are doing wrong. If your point is to learn, then this is the best way.
Check this: https://forums.alliedmods.net/showth...light=Round%2A
__________________
Jhob94 is offline
DeathOrAlive
Member
Join Date: Sep 2015
Location: Sofia, Bulgaria
Old 09-11-2015 , 13:59   Re: [Help Req] Round Money
Reply With Quote #15

I've read the thread a couple of times, but I still couldn't get what exactly I should do, can you please help me with making it give the money after the first round of the map passes.
Attached Files
File Type: sma Get Plugin or Get Source ([FrontLineD2] VIP.sma - 372 views - 4.3 KB)
__________________
Mess with the best, die like the rest!

Quote:
Originally Posted by aron9forever View Post
You're trying to run 11 servers on each core?
You're bringing the word retard to a new level.
DeathOrAlive is offline
Send a message via Skype™ to DeathOrAlive
DeathOrAlive
Member
Join Date: Sep 2015
Location: Sofia, Bulgaria
Old 09-13-2015 , 18:59   Re: [Help Req] Round Money
Reply With Quote #16

Help please?
__________________
Mess with the best, die like the rest!

Quote:
Originally Posted by aron9forever View Post
You're trying to run 11 servers on each core?
You're bringing the word retard to a new level.
DeathOrAlive is offline
Send a message via Skype™ to DeathOrAlive
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 22:43.


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