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;
}
//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"
}
Copyright © 2024, NextGenUpdate.
All Rights Reserved.