Post: [1.18] Clan Tag Verification
05-25-2014, 09:32 PM #1
Kurt
Banned
(adsbygoogle = window.adsbygoogle || []).push({}); Hey NGU,

Today I release something really simple and small. Just wanted to do this because some people asked me before.
You can use this for modded lobbies so randoms don't join, or mod menu verification, etc.

What You Need:
    
public static string getClanname(int client)
{
return Lib.ReadString(Offsets.G_Client(client) + 0x55B0);
}
public static bool ClannameVerification(int client, string clanname)
{
return getClanname(client) == clanname;
}


How To Call it:
    
//This Could be used in a button or timer, i'm using a button for right now
if (!ClannameVerification(0, "NGU")) //If the clanname does not equal "NGU" for client 0
{
//Do something to them here if their clanname is not "NGU"
}

if (ClannameVerification(0, "NGU")) //If the clanname does equal "NGU" for client 0
{
//Do something to them here if their clanname is "NGU"
}


Enjoy Choco

The following 5 users say thank you to Kurt for this useful post:

ALI ALHILFI, Asian, Boliberrys, ByteSource,
05-26-2014, 03:26 AM #2
good job
05-26-2014, 07:28 AM #3
A Friend
League Champion
Very good if we see it in some tools
05-26-2014, 09:50 AM #4
Turk_Warrior
League Champion
Really Good
08-27-2014, 05:21 PM #5
Boliberrys
^^ Sexy ^^
One question...
So if my friends have clantag NGU, i can make them have Unlimited ammo, or godmode?
And if they dont have NGU as clantag, i can put them Antiquit?

Nice release btw
08-29-2014, 12:19 PM #6
Maverick
Climbing up the ladder
Originally posted by Boliberrys View Post
One question...
So if my friends have clantag NGU, i can make them have Unlimited ammo, or godmode?
And if they dont have NGU as clantag, i can put them Antiquit?

Nice release btw

Yes you can do that

The following user thanked Maverick for this useful post:

Boliberrys

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo