Raised This Month: $ Target: $400
 0% 

[CS 1.6] RoundStartBonus v1.0


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
SadistiC.
Junior Member
Join Date: Nov 2011
Location: Poland
Old 11-15-2011 , 11:19   [CS 1.6] RoundStartBonus v1.0
Reply With Quote #1

RoundStartBonus v1.0 by SadistiC.

Introduction:

Sorry for me poor English but I'm from Poland.
This is my first plugin.
It is good for easyblock/hns servers.
Plugin draws a bonus at the beginning of each round.

Plugin Requirements:
  • AMX Mod X 1.8.0 or higher,
  • CStrike Addon,
  • HamSandwich Module,
  • Fakemeta Module,
  • ColorChat Include.
Changelog:

Version 1.0
  • Initial Release.
Notes:

Please post all suggestions, comments, or improvements you may have.
Attached Files
File Type: sma Get Plugin or Get Source (roundstartbonus.sma - 756 views - 4.8 KB)

Last edited by SadistiC.; 11-15-2011 at 15:12.
SadistiC. is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-15-2011 , 12:31   Re: [CS 1.6] RoundStartBonus v1.0
Reply With Quote #2

Removed AMXX file. You are not allowed to upload compiled plugins.
__________________
Arkshine is offline
Dark Style
BANNED
Join Date: Feb 2011
Location: Brazil
Old 11-15-2011 , 13:07   Re: [CS 1.6] RoundStartBonus v1.0
Reply With Quote #3

Upload colorchat include!

Quote:
Originally Posted by SadistiC. View Post
ColorChat Module.
Colorchat is a include, not a module.

Code:
set_task(90.0, "taskSadistiC", 0, "", _, "b");
You don't need this.

Code:
new data[6], iName[64]
new acces, callback
menu_item_getinfo(menu, item, acces, data,5, iName, 63, callback)
	
new key = str_to_num(data)
	
switch(key)

// ->>>>>>>

++item;

switch(item)
Code:
#include <fakemeta_util>
#include <hamsandwich>

public plugin_init()
{
	RegisterHam(Ham_Spawn, "player", "fwSpawn", 1);
}
//->>>>>>>>>>
#include <fakemeta>
#include <fakemeta_util>
public plugin_init()
{
	register_forward(FM_Spawn, "fwSpawn", 1);
}
Change it!

Create the menu on plugin_start() and just show when player is alive (include is_user_alive(id) in fwSpawn(id)), and when finally use menu_cancel() not menu_destroy().

Last edited by Dark Style; 11-15-2011 at 13:19.
Dark Style is offline
SadistiC.
Junior Member
Join Date: Nov 2011
Location: Poland
Old 11-15-2011 , 15:14   Re: [CS 1.6] RoundStartBonus v1.0
Reply With Quote #4

Thanks Dark Style.
I'm beginner...

I added corrected *.sma to the first post.
And now it's all good?

Last edited by SadistiC.; 11-15-2011 at 15:29.
SadistiC. is offline
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 11-15-2011 , 15:18   Re: [CS 1.6] RoundStartBonus v1.0
Reply With Quote #5

the code ... wtf
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
SadistiC.
Junior Member
Join Date: Nov 2011
Location: Poland
Old 11-15-2011 , 15:28   Re: [CS 1.6] RoundStartBonus v1.0
Reply With Quote #6

DarkGod, why? - Sorry, I'm beginner in scripting.

Please, expand this idea.
__________________
I'm sorry for my weak English.
SadistiC. is offline
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 11-15-2011 , 15:30   Re: [CS 1.6] RoundStartBonus v1.0
Reply With Quote #7

Code:
 if(include is_user_alive(id) in fwSpawn(id))

What were you thinking when you added that there?
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
SadistiC.
Junior Member
Join Date: Nov 2011
Location: Poland
Old 11-15-2011 , 15:33   Re: [CS 1.6] RoundStartBonus v1.0
Reply With Quote #8

Quote:
Originally Posted by SadistiC. View Post
I'm beginner in scripting.
Tell me where I must add this line...
__________________
I'm sorry for my weak English.
SadistiC. is offline
Dark Style
BANNED
Join Date: Feb 2011
Location: Brazil
Old 11-15-2011 , 15:41   Re: [CS 1.6] RoundStartBonus v1.0
Reply With Quote #9

kkkkk, this is so funny. if u don't know this how did u create the plugin ?
Dark Style is offline
pacheco
Senior Member
Join Date: Jul 2011
Old 11-15-2011 , 15:41   Re: [CS 1.6] RoundStartBonus v1.0
Reply With Quote #10

For your first plugin, is a nice plugin.

__________________




Last edited by pacheco; 11-15-2011 at 15:59.
pacheco 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 09:29.


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