- 0
Baza de date-comanda
-
Similar Content
-
- 7 replies
- 737 views
-
- 3 answers
- 351 views
-
- 1 answer
- 615 views
-
ajutor conectare data de baze in gamemode ca nustiu care pun ca le pun pe amandoua si numi merge va las jos sa imi spuneti care ip trebuie
By pericz,
- 8 answers
- 2.441 views
-
- 1 reply
- 510 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.

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