- 0
Baza de date-comanda
-
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
PolloDate
Salut.Vreau si eu sa ma ajutati cu o problema deoarece sunt incepator in crearea de comenzi.Deci eu vreau atunci cand dau /factions sa imi arate asa http://postimg.org/image/q3rjmnmg3
Dar nu stiu cum sa conectez urmatoarea comanda la fisierul ''factions'' din baza mea de date.
CMD:factions(playerid, params[]) { if(IsPlayerConnectedEx(playerid)) { new titles[512]; new File: file = fopen("Altele/factions.cfg", io_read); if(file) { new idx = 0; while (idx < sizeof(FactionsInfo)) { fread(file, titles); idx ++; format(titles, sizeof(titles), "[%d/%d] %s", FactionsInfo[idx][fOnlineMembers], FactionsInfo[idx][fMembersmax], FactionsInfo[idx][fName]); //SendClientMessage(playerid, -1, titles); ShowPlayerDialog(playerid, factionsdialog, DIALOG_STYLE_LIST, "Factions", titles, "Select", "Close"); } } } return 1; }Daca ma puteti ajuta raman indatorat
1 answer 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