Raised This Month: $ Target: $400
 0% 

Problem with Moneymod and Blockmaker by Necro


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
h0ppetau
Junior Member
Join Date: May 2012
Old 05-10-2012 , 09:00   Problem with Moneymod and Blockmaker by Necro
Reply With Quote #1

Hi guys,

I have a few problems. I know there's like 10000 threads regarding Blockmaker, Custom Models and stuff.

But I didn't find anyone that could fit for my problem, so I decided to create a new thread instead.



I am using hideNseek by Ex0lent, Blockmaker 4.01 by Necro, and MoneyMod by funfel. My problem is that I want the moneyblock I created to give me money which shows in MoneyMod. Like, if you kill someone, it says "You just got 80 money for killing an enemy" etc. And if you type /mymoney or /mm is shows your current amount of money. I want the MoneyBlock i created to do have the same function when you stand on it. "You just got xx money"

/****** BLOCK ACTIONS *****/
PHP Code:
actionMoney(idOverrideTimer)
{
    if(
gMoneyUsed[id])
    {
        static 
property[5];
        new 
AddValueplayerMoney;
        
GetProperty(ent1property);
        
playerMoney mm_get_user_money(id);
        
AddValue str_to_num(property) + playerMoney;  
        
mm_set_user_money(idAddValue);
        
g_money_used[id] = false;
        
SCM_Print(id"You have been given %s $!"property);
    }
    else{
        
set_hudmessage(025500.010.1800.01.00.250.252);
        
show_hudmessage(id"%s %s^nNext Use: Next Round"PLUGIN_PREFIXPLUGIN_VERSION);
    }


PHP Code:
// global floats
new Float:gfSnappingGap[33];
new 
Float:gfOldMaxSpeed[33];
new 
Float:gfGrablength[33];
new 
Float:gfNextHealTime[33];
new 
Float:gfNextDamageTime[33];
new 
Float:gfInvincibleNextUse[33];
new 
Float:gfInvincibleTimeOut[33];
new 
Float:gfStealthNextUse[33];
new 
Float:gfStealthTimeOut[33];
new 
Float:gfTrampolineTimeout[33];
new 
Float:gfSpeedBoostTimeOut[33];
new 
Float:gfNukeNextUse[33];
new 
Float:gfCamouflageNextUse[33];
new 
Float:gfCamouflageTimeOut[33];
new 
Float:gfRandomNextUse[33];
new 
Float:gfBootsOfSpeedTimeOut[33];
new 
Float:gfBootsOfSpeedNextUse[33];
new 
Float:gfAutoBhopTimeOut[33];
new 
Float:gfAutoBhopNextUse[33];
new 
Float:gfMoneyNextUse[33]; 

PHP Code:
// global booleans
new bool:gbMeasureToolEnabled[33];
new 
bool:gbSnapping[33];
new 
bool:gbNoFallDamage[33];
new 
bool:gbOnIce[33];
new 
bool:gbNoSlowDown[33];
new 
bool:gbLowGravity[33];
new 
bool:gbOnFire[33];
new 
bool:gbAutoBhop[33];
new 
bool:gbJustDeleted[33];
new 
bool:gbAdminGodmode[33];
new 
bool:gbAdminNoclip[33];
new 
bool:gMoneyUsed[33]; 
Need some help here.

PS: I prefer staying with the original one, and not a copycat's release.


Best Regards,

h0ppetau.

Last edited by h0ppetau; 05-10-2012 at 09:07.
h0ppetau is offline
 



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 00:24.


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