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

Round Start Money (colored)


Post New Thread Reply   
 
Thread Tools Display Modes
priyojit
Member
Join Date: Nov 2013
Location: Kolkata
Old 12-12-2014 , 12:02   Re: Round Start Money (colored)
Reply With Quote #21

Quote:
Originally Posted by tousif View Post
Round Money Colored
Author : Gullu Bhai
Version : 1.0

Description : The Start Money Will come in color
Use
!g = Green !n = Normal !t = Team In round_money.txt file

Cvars: round_money (default:16000)

Credits : Conor MC
Leod (colorchat.inc)

Installation : 1. Add round_money.amxx to cstrike/addons/amxmodx/plugins folder
2. Add round_money.sma to
cstrike/addons/amxmod/scripting folder
3. put the round_money.txt to cstrike/addons/amxmodx/data/lang folder
4. Add Colorchat.inc to cstrike/addons/amxmod/scripting/include folder




PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <colorchat>


new MONEY;

public 
plugin_init()
{
register_plugin("round_money(colored)","1.0""Gullu Bhai")

MONEY register_cvar("round_money","16000")

/* Register LANG file */
register_dictionary_colored("round_money.txt" )

register_logevent("new_round"2"1=Round_Start")
}
public 
new_round()
{
new 
players[32], playerCountiplayerpMoney;
pMoney get_pcvar_num(MONEY)

get_players(players,playerCount);

for(
i=0;i<playerCount;i++)
{
player players[i];
if(
cs_get_user_money(player) < pMoney)
{
cs_set_user_money(playerpMoney);
client_print_color(player,print_chat,"%L",LAN G_PLAYER,"MONEY_AMOUNT",pMoney)
}

}

/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1033\\ f0\\ fs16 \n\\ par }
*/ 
this plugin also not working as there are some code error's please unapproved it
__________________
Learning Pawn [20% Completed] | Java [100%] | PHP [100%] | CSS [100%]
priyojit is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 12-12-2014 , 12:13   Re: Round Start Money (colored)
Reply With Quote #22

Quote:
Originally Posted by priyojit View Post
this plugin also not working as there are some code error's please unapproved it
So why have you yet to tell anyone what that error is?
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
GinNNy
Senior Member
Join Date: Mar 2014
Old 12-13-2014 , 12:42   Re: Round Start Money (colored)
Reply With Quote #23

I think better for you OP to post this plugin in the actual plugin's thread as a modified plugin.
I don't really know what Yamikaitou will say lets wait him ^_^

Last edited by GinNNy; 12-13-2014 at 12:42.
GinNNy is offline
tousif
AlliedModders Donor
Join Date: Nov 2014
Location: India
Old 12-13-2014 , 23:43   Re: Round Start Money (colored)
Reply With Quote #24

Quote:
Originally Posted by priyojit View Post
this plugin also not working as there are some code error's please unapproved it

I have tested this plugin its working fine
tousif is offline
GinNNy
Senior Member
Join Date: Mar 2014
Old 12-13-2014 , 23:50   Re: Round Start Money (colored)
Reply With Quote #25

Quote:
Originally Posted by priyojit View Post
this plugin also not working as there are some code error's please unapproved it
You dont have the right to judge as you just learned 3% of pawn scripting.

Last edited by GinNNy; 12-13-2014 at 23:50.
GinNNy is offline
feifei
Senior Member
Join Date: Sep 2014
Location: India
Old 12-15-2014 , 02:27   Re: Round Start Money (colored)
Reply With Quote #26

https://forums.alliedmods.net/showpo...3&postcount=11

PHP Code:
#include <amxmodx> 
#include <amxmisc> 
#include <cstrike> 
#include <colorchat> 


new MONEY

public 
plugin_init() 

    
register_plugin("round_money","1.2","popeye10"
     
    
MONEY register_cvar("round_money","16000"
     
    
register_logevent("new_round"2"1=Round_Start"
     
    
register_dictionary_colored"round_money.txt" 


public 
new_round() 

    new 
players[32], playerCountiplayerpMoney
    
pMoney get_pcvar_num(MONEY
     
    
get_players(players,playerCount); 
     
    for(
i=0;i<playerCount;i++) 
    { 
        
player players[i]; 
        if(
cs_get_user_money(player) < pMoney
        { 
            
cs_set_user_money(playerpMoney); 
            
client_print_color(player,RED"%L"LANG_PLAYER"MONEY_AMOUNT"pMoney
        } 
    }  

__________________
MaTriX is my life
Visit Here ;) For ZP MODs
feifei is offline
Old 12-15-2014, 09:20
tousif
This message has been deleted by tousif.
Linkin Hisoka
Senior Member
Join Date: Sep 2014
Location: Morocco, Marrakesh
Old 12-22-2014 , 06:16   Re: Round Start Money (colored)
Reply With Quote #27

This is Old Plugin
__________________
Moroccan and proud
Linkin Hisoka is offline
Shockyboy
Senior Member
Join Date: Apr 2014
Location: Earth
Old 12-22-2014 , 16:19   Re: Round Start Money (colored)
Reply With Quote #28

Old is Gold #JK
__________________


[ LEARNING SCRIPTING ]
[ ||||||||||||] [ 30% ]
Shockyboy is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-23-2014 , 08:53   Re: Round Start Money (colored)
Reply With Quote #29

Redundant + you are not the author, you have just copied/pasted code from a thread Suggestions section.
Don't do that again.

Unapproved.
__________________
Arkshine is offline
Old 12-24-2014, 03:49
tousif
This message has been deleted by tousif.
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-24-2014 , 04:48   Re: Round Start Money (colored)
Reply With Quote #30

Really: https://forums.alliedmods.net/showpo...3&postcount=11, it's exactly the same code, same variables name, same style.
__________________
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 16:08.


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