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(id, OverrideTimer)
{
if(gMoneyUsed[id])
{
static property[5];
new AddValue, playerMoney;
GetProperty(ent, 1, property);
playerMoney = mm_get_user_money(id);
AddValue = str_to_num(property) + playerMoney;
mm_set_user_money(id, AddValue);
g_money_used[id] = false;
SCM_Print(id, "You have been given %s $!", property);
}
else{
set_hudmessage(0, 255, 0, 0.01, 0.18, 0, 0.0, 1.0, 0.25, 0.25, 2);
show_hudmessage(id, "%s %s^nNext Use: Next Round", PLUGIN_PREFIX, PLUGIN_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.