- 0
Nu imi sesteaza tag-ul la clan
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
custura
Acestea sunt liniile(atunci cand playerul se conecteaza ar trebui sa ii seteze numele+tag)
if(PlayerData[extraid][pClan] > 0)
{
new clsetName[25];
new clanid = PlayerData[extraid][pClan];
if(ClanData[clanid][clanTag] == 1)
{
format(clsetName, sizeof(clsetName), "%s%s", ClanData[PlayerData[extraid][pClan]][clanTag], PlayerData[extraid][pUsername]);
SetPlayerName(extraid, clsetName);
}
else if(ClanData[clanid][clanTag] == 2)
{
format(clsetName, sizeof(clsetName), "%s%s", PlayerData[extraid][pUsername], ClanData[PlayerData[extraid][pClan]][clanTag]);
SetPlayerName(extraid, clsetName);
}
}
Am facut o comanda sa vad daca citeste bine din baza de date, iar rezultatul este ok
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now