Raised This Month: $ Target: $400
 0% 

Dragon Ball Mod 1.4 [Heroes vs Villains] (21 january 2016) [Added Beta]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 01-21-2016 , 15:26   Re: Dragon Ball Z Mod 1.4 [Heroes vs Villains] (21 january 2016)
Reply With Quote #1

Hi, Nice mod yours.

I just upgrade mime version to 1.4 and notice that I use the main HUD message position a little bit difference than the original, so, could you let it available using a '#define'?

I made it for you. I attached it. Here you can see exactly what I changed.

Now, what do you think about this code below you use inside 'printcolor':
Code:
    new g_msgsaytext         if(!g_msgsaytext) {         g_msgsaytext = get_user_msgid("SayText")     }
The variable g_msgsaytext will always be 0, to work as I think you thought, you should declare is as static. But in such case would be better to put it straight at global scope, and initialize it at plugin_cfg(). So you can save that 'if(!g_msgsaytext)' all the times the 'printcolor' is called.
Attached Files
File Type: sma Get Plugin or Get Source (dragon_ball_mod.sma - 551 views - 102.2 KB)
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective

Last edited by addons_zz; 01-21-2016 at 22:51. Reason: spelling fix
addons_zz 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 23:21.


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