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

[v2.5.2, March 19] Trouble in Terrorist Town mod


Post New Thread Reply   
 
Thread Tools Display Modes
FacuuMoran
Junior Member
Join Date: May 2015
Old 07-08-2015 , 23:10   Re: [v2.5.2, March 19] Trouble in Terrorist Town mod
Reply With Quote #451

I Want to Add A Hud Message For all Players When a Detective Scan a Dead Body Saying "Thomas Was Identified as Traidor/Inocent" Pls Help Me!

Sorry For my Bad English!
FacuuMoran is offline
matrix123
Veteran Member
Join Date: Feb 2011
Old 07-09-2015 , 17:07   Re: [v2.5.2, March 19] Trouble in Terrorist Town mod
Reply With Quote #452

@FacuuMoran ttt_show_infos

-->

EXAMPLE

PHP Code:
public ttt_showinfo(idtarget)
{
    new 
mode ttt_get_gamemode(); 
    if(!
is_user_alive(target) && is_user_alive(id) &&  mode != GAME_ENDED && mode != GAME_OFF)
    {
        new 
named[32], namev[32];
        
get_user_name(idnamedcharsmax(named));
        
get_user_name(targetnamevcharsmax(namev));
        
client_print_color(0print_team_default,"[!gTTT!n]: !t%s !nha inspeccionado a !g%s !n[!t%L!n]"namednamevidspecial_names[ttt_get_alivestate(target)]); // by thom1
        
show_motd_info(idtarget);
    }

__________________
matrix123 is offline
FacuuMoran
Junior Member
Join Date: May 2015
Old 07-12-2015 , 20:26   Re: [v2.5.2, March 19] Trouble in Terrorist Town mod
Reply With Quote #453

Thanks! But I want to get one for Inocents and Other For Traitors! Thanks!
FacuuMoran is offline
matrix123
Veteran Member
Join Date: Feb 2011
Old 07-13-2015 , 03:41   Re: [v2.5.2, March 19] Trouble in Terrorist Town mod
Reply With Quote #454

there will appear a traitor or innocent, depending on whatever

or you want a different for each hud ?
example: " killed one of your fellow " and innocent " killed a traitor"

¿?

[Español]
Ahi aparece "Traidor o inocente" dependiendo lo que sea el cuerpo muerto, si queres que sea personalizado (si es traidor un mensaje y si es inocente otro) usa con ttt_get_alivestate()
__________________
matrix123 is offline
Awesome_man
Senior Member
Join Date: May 2014
Location: singapore
Old 07-13-2015 , 05:15   Re: [v2.5.2, March 19] Trouble in Terrorist Town mod
Reply With Quote #455

Found the reason for crash..

Whenevery i put ttt mod server crash after 1 min then i deleted ttt_stats.sql and antireconnect and no more crash now ?

Please fix it
Awesome_man is offline
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 07-13-2015 , 05:56   Re: [v2.5.2, March 19] Trouble in Terrorist Town mod
Reply With Quote #456

Can you explain a bit more? Can't understand your English. Step-by-step. As for all of you other there, if you wish, you can publish addons for this mod here or in github to share
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
Awesome_man
Senior Member
Join Date: May 2014
Location: singapore
Old 07-13-2015 , 12:05   Re: [v2.5.2, March 19] Trouble in Terrorist Town mod
Reply With Quote #457

Quote:
Originally Posted by GuskiS View Post
Can you explain a bit more? Can't understand your English. Step-by-step. As for all of you other there, if you wish, you can publish addons for this mod here or in github to share
Dude sometime this mod run perfectly fine without crash and sometime it crash after 2 minute every plugin is running there is no logs still it crash i'm tired to find the reason for crash please help me
Awesome_man is offline
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 07-13-2015 , 13:06   Re: [v2.5.2, March 19] Trouble in Terrorist Town mod
Reply With Quote #458

I understand that. I'm willing to fix everything if you can provide me steps how to replace it, or some possible causes. As for your last report, I just can't understand that English. Maybe you can write to some other users who are from Singapore, so they can translate more accurately so I could understand it.
I'm using this mod in my server, 1.8.3 version of amxmodx - no crashes. Also, if you reported that it was crash because of SQLite, I'm using MySQL database server to host all database info. You could try that, and maybe it fixes your problem, if that would happen, I would definately look into that.
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
FacuuMoran
Junior Member
Join Date: May 2015
Old 07-13-2015 , 14:47   Re: [v2.5.2, March 19] Trouble in Terrorist Town mod
Reply With Quote #459

Guskis! I Have a problem with the C4! Do you update it or what? The c4 Works Perfectly but now have a other system! Now you have "wires" red and Green! I am so confused!

Last edited by FacuuMoran; 07-13-2015 at 14:52.
FacuuMoran is offline
matrix123
Veteran Member
Join Date: Feb 2011
Old 07-13-2015 , 19:27   Re: [v2.5.2, March 19] Trouble in Terrorist Town mod
Reply With Quote #460

@Guskis

that there will be some method to enter the player have the same karma? by vault or otherwise?

Spanish: habra algun metodo de que al ingresar el jugador tenga el mismo karma? mediante vault u otra manera ?
__________________
matrix123 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 11:40.


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