| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 327 online users. » 0 Member(s) | 323 Guest(s) Yandex, Bing, Applebot
|
|
|
problema afisare dialog clan members |
|
Posted by: rcst3phan - 2026-01-27, 07:31 PM - Forum: Romanian/Română
- No Replies
|
 |
salutare,
am si eu o problema, nu imi afiseaza dialog-ul la clan members, uitati codul mai jos >>
case 1: {
new szDialog2[1024], Members, name[180], cwarn[180], cdays[180], szRank1[180];
format(query, sizeof(query), "SELECT * FROM `users` WHERE `users`.`Clan` = '%d' ORDER BY `users`.`ClanRank` DESC LIMIT 50", PlayerInfo[playerid][pClan]);
new Cache: result = mysql_query(SQL, query);
strcat(szDialog2, "#. Name\tRank\tClan Warns\tClan Days\n");
for(new i, j = cache_get_row_count (); i != j; ++i)
{
cache_get_field_content(i, "Username", name);
cache_get_field_content(i, "ClanRank", szRank1);
cache_get_field_content(i, "ClanWarns", cwarn);
cache_get_field_content(i, "ClanDays", cdays);
format(Selected[playerid][Members], MAX_PLAYER_NAME, name);
format(szDialog, sizeof(szDialog), "%d. %s\t%d\t%s/3\t%s\n", Members+1, name, strval(szRank1), cwarn, cdays);
strcat(szDialog2, szDialog);
Members++;
}
cache_delete(result);
ShowPlayerDialog(playerid, DIALOG_CLAN_MEMBERS, DIALOG_STYLE_TABLIST_HEADERS, "Clan members", szDialog2, "Ok", "Back");
}
|
|
|
|
problem dialog clan members |
|
Posted by: rcst3phan - 2026-01-27, 07:30 PM - Forum: Pawn Scripting
- Replies (3)
|
 |
hello,
i have a problem too it doesn't display the dialog for clan members,
code:
case 1: {
new szDialog2[1024], Members, name[180], cwarn[180], cdays[180], szRank1[180];
format(query, sizeof(query), "SELECT * FROM `users` WHERE `users`.`Clan` = '%d' ORDER BY `users`.`ClanRank` DESC LIMIT 50", PlayerInfo[playerid][pClan]);
new Cache: result = mysql_query(SQL, query);
strcat(szDialog2, "#. Name\tRank\tClan Warns\tClan Days\n");
for(new i, j = cache_get_row_count (); i != j; ++i)
{
cache_get_field_content(i, "Username", name);
cache_get_field_content(i, "ClanRank", szRank1);
cache_get_field_content(i, "ClanWarns", cwarn);
cache_get_field_content(i, "ClanDays", cdays);
format(Selected[playerid][Members], MAX_PLAYER_NAME, name);
format(szDialog, sizeof(szDialog), "%d. %s\t%d\t%s/3\t%s\n", Members+1, name, strval(szRank1), cwarn, cdays);
strcat(szDialog2, szDialog);
Members++;
}
cache_delete(result);
ShowPlayerDialog(playerid, DIALOG_CLAN_MEMBERS, DIALOG_STYLE_TABLIST_HEADERS, "Clan members", szDialog2, "Ok", "Back");
}
|
|
|
|
| Verona Community opening |
|
Posted by: pmemorex2016 - 2026-01-27, 07:01 AM - Forum: Advertisements
- No Replies
|
 |
🎮 Verona Community SA-MP
📅 28.01 at 20:00
🌍 IP: 57.129.80.235:7799
🔥 Modern RPG server
🔥 Active community
🔥 Authentic Balkan RPG experience
➡ See you on the server!
|
|
|
|
| Verona Community otvaranje servera |
|
Posted by: pmemorex2016 - 2026-01-27, 06:59 AM - Forum: Ex-Yu
- No Replies
|
 |
🎮 Verona Community SA-MP
📅 28.01 u 20:00h
🌍 IP: 57.129.80.235:7799
🔥 Moderan RPG server
🔥 Aktivna zajednica
🔥 Balkan RPG doživljaj
➡ Vidimo se na serveru!
|
|
|
|
Redturbo's Team Death Match and Roleplay |
|
Posted by: Bright - 2026-01-25, 12:36 PM - Forum: Advertisements
- No Replies
|
 |
Hello Samp players.
We are happy to inform you that the RTTDM community and servers are back online.
We are looking for scripters Forum staffs and many maybe you can get your place under our staff today sign up gor more.
We have two major game mods and we will be happy to see our server rising to higher heights.
Game mods: Role play and Zombie survival
Ips:Zs 162.19.133.164:6980 RP:72.60.211.225:8888
Forum link: https://rttdm.optikl.ink/index.php
Discord: https://discord.gg/w694QXBwU
We will be happy to see you in game and forum
|
|
|
|
|