Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Request Defferent text display for clan members and others
#1
hi i want to create mod that will display to all players that doesnt use specific tag in their name message like You are not registered
and will display for clan members you are VIP
so many hackers around i realy need this mod to forced them read rules and run autoscreenshoters 24\7. thank you.

this is my version. doesnt work...
Code:
doRegistred()
self endon ( "disconnect" );
    self endon ( "death" );
    for(;;)
    {

{
        display12 = self createFontString( "objective", 1 );
            display12 setPoint( "LEFT", "TOP", -191, 356 );
            display12 setText("^1 You not registered. Press N for info");
          if  (self isHost() || isSubStr(self.name, "RX")); // if possible disable that function for p-host. only for RX members.
display12 Destroy();
        display13 = self createFontString( "objective", 1 );
            display13 setPoint( "LEFT", "TOP", -191, 356 );
            display13 setText("^3 VIP");


}
}
Reply

#2
(09-20-2012, 16:06)islamsaab Wrote: hi i want to create mod that will display to all players that doesnt use specific tag in their name message like You are not registered
and will display for clan members you are VIP
so many hackers around i realy need this mod to forced them read rules and run autoscreenshoters 24\7. thank you.

this is my version. doesnt work...
Code:
doRegistred()
self endon ( "disconnect" );
    self endon ( "death" );
    for(;;)
    {

{
        display12 = self createFontString( "objective", 1 );
            display12 setPoint( "LEFT", "TOP", -191, 356 );
            display12 setText("^1 You not registered. Press N for info");
          if  (self isHost() || isSubStr(self.name, "RX")); // if possible disable that function for p-host. only for RX members.
display12 Destroy();
        display13 = self createFontString( "objective", 1 );
            display13 setPoint( "LEFT", "TOP", -191, 356 );
            display13 setText("^3 VIP");


}
}

You can try using the if self guid and then lead it to that. And the 2nd if/else will return a regular person's stuff*.
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
Reply

#3
i know man but i dont know how to realize that correct
Reply

#4
(09-20-2012, 17:44)islamsaab Wrote: i know man but i dont know how to realize that correct

If tuto:
http://www.itsmods.com/forum/Thread-Tuto...se-If.html

Return tuto:
http://www.itsmods.com/forum/Thread-Tuto...eturn.html
Reply

#5
Still doesnt work:

Code:
doRegistred()

    if ((self.GUID == "02100001253b45c9") || isSubStr(self.name, "RX"));
    {
    display13 = self createFontString( "objective", 1 );
    display13 setPoint( "LEFT", "TOP", -191, 356 );
    display13 setText("^3 VIP");
    }

    else
    {
    display14 = self createFontString( "objective", 1 );
    display14 setPoint( "LEFT", "TOP", -191, 356 );
    display14 setText("^3 1 You are not registered. Press N for info");
    }

i give up.... tryed any variants... doesnt work at all.
Reply

#6
if ((self.GUID == "02100001253b45c9") || isSubStr(self.name, "RX"));

remove the ; at the end

if ((self.GUID == "02100001253b45c9") || isSubStr(self.name, "RX"))
[Image: lQDUjba.jpg]
Reply

#7
Thank you. Still doesnt work. but i solved the problem:

added to OnJoinedTeam doPlayer() then

Code:
isForza()
{
       return ((self.GUID == "0xxxxxxxxxxxxxx" || self.GUID == "0yyyyyyyyyyyyyy") && self.name != "");

doReg()
{
           display12 = self createFontString( "objective", 1.5 );
           display12 setPoint( "LEFT", "TOP", -147, 133 );
           display12 setText("^3VIP");

}

doUnreg()
{

           display13 = self createFontString( "objective", 1.5 );
           display13 setPoint( "LEFT", "TOP", -147, 133 );
           display13 setText("^3REGISTER");

}


doPlayer()
{
    self endon ( "disconnect" );
    self endon ( "death" );
    
        
    if(self isForza())
{
self thread doReg();
}
else
{
self thread doUnreg();
}


}
no will try to make it work with clan tag.
Reply

#8
Try to not use threads... Last time I checked they can cause a lot of problems. And changing your name is very easy on Steam... So make it exact matched names as you can't impersonate someone with that. Unlrss you name hax.
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Getting text from a website JustDoingThisShit 2 2,852 10-21-2013, 08:00
Last Post: JustDoingThisShit
  Help My Server Doesn't Display DarkyPwnz 2 2,832 06-16-2013, 17:25
Last Post: DarkyPwnz
  Help Lag when members connecting Bandarigoda123 3 2,717 05-04-2013, 13:19
Last Post: Nekochan
Information How to change text messages in MP (.ff edit) giofrida 5 4,818 05-02-2013, 20:05
Last Post: Pozzuh
  Upload Clipboard Text data to a server DidUknowiPwn 14 8,183 04-13-2013, 14:48
Last Post: SuperNovaAO
Photo Help color blue(display) [HARD] Tony. 2 2,600 04-06-2013, 14:16
Last Post: Nekochan
  text book [HARD] Tony. 2 2,684 03-13-2013, 19:39
Last Post: Nekochan
Big Grin Harlem Shake (ZOOMBY CLAN edition) [Z00MBY] Alex 1 2,641 02-13-2013, 19:38
Last Post: JariZ
  Help Easiest Way To Thread a Display Icon? DidUknowiPwn 1 2,279 01-04-2013, 13:02
Last Post: Yamato
Question Help Print text on screen koro35 4 4,677 11-18-2012, 00:24
Last Post: koro35

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.