AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   More money than 16000 2.0 (2/1/08) (https://forums.alliedmods.net/showthread.php?t=24003)

VEN 02-11-2006 06:12

Code:
// #include <amxmodx> new bool:g_new_game public plugin_init() {     register_event("TextMsg", "event_new_game", "a", "2=#Game_Commencing", "2=#Game_will_restart_in")     register_event("HLTV", "event_new_round", "a", "1=0", "2=0") } public event_new_game() {     g_new_game = true } public event_new_round() {     if (g_new_game) {         g_new_game = false         // do something here     } }

Ramono 02-11-2006 06:14

Found already and updated

VEN 02-11-2006 06:19

Well, anyway i recommend pay attention to that example. It's better because it catches exact new game event but not "Game will restart in..." text message. Let's say you set sv_restartround to 60. With your way i'll get money change before actual new game. So if you care about correct way than pay attention. In other case don't worry.

Ramono 02-11-2006 06:26

Gonna update it.

EDIT: Done.

Switchie 03-26-2006 05:58

nice plugin :D

THX

m@tte 04-06-2006 12:18

Found a bug. buyxp doesn't work. I played untill I got $100.000 then wrote buyxp. I bought xp but the money didn't change. it was still $100000. And if i wrote buyxp again it says that i need another $16.000 to buy xp.

Striker 04-06-2006 22:16

yeah,

it would be nice if you could add wc3-mod support.

Ramono 04-14-2006 17:53

Tryed to fix already

The actual money you have is 8000
but if i make it 16000 i cant track it anymore, so you have to live with it.

SubStream 05-10-2006 18:32

awesome plugin this is way better than giving 16k over and over again less reconnects also... I love the idea/plugin and plan on using it.

Cryonic 05-11-2006 04:00

Code:

//// unlimited_money.sma
// D:\shero\cstrike\addons\amxmodx\scripting\unlimited_money.sma(26) : error 017
: undefined symbol "get_pcvar_num"
// D:\shero\cstrike\addons\amxmodx\scripting\unlimited_money.sma(62) : error 017
: undefined symbol "get_pcvar_num"
// D:\shero\cstrike\addons\amxmodx\scripting\unlimited_money.sma(200) : error 01
7: undefined symbol "get_pcvar_num"
// D:\shero\cstrike\addons\amxmodx\scripting\unlimited_money.sma(230) : warning
204: symbol is assigned a value that is never used: "maxmoney"
// D:\shero\cstrike\addons\amxmodx\scripting\unlimited_money.sma(230) : warning
204: symbol is assigned a value that is never used: "startmoney"
//
// 3 Errors.
// Could not locate output file compiled\unlimited_money.amx (compile failed).
//
// Compilation Time: 0,09 sec



All times are GMT -4. The time now is 08:04.

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