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

Starting Money [24/04/2014]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Server Management       
Simple32
Junior Member
Join Date: Feb 2014
Old 04-24-2014 , 21:06   Starting Money [24/04/2014]
Reply With Quote #1

Starting Money
Version 1.0.0
By Simple32
Description:
This plugin allows you to turn on and type in the amount of starting money of any value you want. You can turn off the plugin through cvar and the amount.

Cvars:
starting_money "1" [Default]
spawn_money "800" [Default]

Changelog:
Version 1.0.0 - Initial Release



Attached Files
File Type: sma Get Plugin or Get Source (startingmoney.sma - 604 views - 614 Bytes)

Last edited by Simple32; 04-24-2014 at 21:54.
Simple32 is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 04-25-2014 , 01:17   Re: Starting Money [24/04/2014]
Reply With Quote #2

My plugin allow to users to do not post using BOLD


__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
OnePL
BANNED
Join Date: May 2012
Location: GB
Old 04-25-2014 , 02:11   Re: Starting Money [24/04/2014]
Reply With Quote #3

Edit and use fakemeta
PHP Code:
#include <amxmodx>
#include <hamsandwich>
#include <fakemeta>

#define PLUGIN "Starting Money"
#define VERSION "1.0.0"
#define AUTHOR "Simple32"

new gSpawnMoney;

public 
plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)

    
RegisterHam(Ham_Spawn"player""StartingMoney");

    
gSpawnMoney register_cvar("spawn_money""800");
}

public 
StartingMoney(id)
    if(
get_pcvar_num(gSpawnMoney) && get_pdata_int(id115) != get_pcvar_num(gSpawnMoney))
        
set_pdata_int(id115get_pcvar_num(gSpawnMoney)) 
OnePL is offline
Send a message via ICQ to OnePL Send a message via AIM to OnePL Send a message via Yahoo to OnePL Send a message via Skype™ to OnePL
swapped
BANNED
Join Date: Mar 2014
Location: OrpheuRegisterHook
Old 04-25-2014 , 02:17   Re: Starting Money [24/04/2014]
Reply With Quote #4

https://forums.alliedmods.net/showthread.php?t=178940
swapped is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-25-2014 , 02:31   Re: Starting Money [24/04/2014]
Reply With Quote #5

Redundant, unapproved.
__________________
Arkshine 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 03:56.


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