- 0
marime array
-
Similar Content
-
- 1 reply
- 1,719 views
-
-
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
MihaiGG
salut, cum as putea afla numarul de elemente dintr-un array?
Spre exemplu, incerc sa fac un sistem de skinuri la factiune:
ShowModelSelectionMenuEx(playerid, FactionsSkins[PlayerInfo[playerid][pMember]-1], items_count , "Faction Skins", FACTION_SKINS);
E ok, imi apar skinurile dar daca items_count este mai mare decat numarul de skinuri de la o factiune imi adauga skinuri si din urmatoarea factiune pana atinge items_count.
new FactionsSkins[][] = {
{71, 280, 281, 282, 283, 284, 265, 266, 267, 306, 307, 309},
{71, 280, 281, 282, 283, 284, 265, 266, 267, 306, 307, 309},
{71, 280, 281, 282, 283, 284, 265, 266, 267, 306, 307, 309},
{76, 295, 286, 163, 164, 165, 166}
};
nu stiu cum pot afla numarul de elemente, spre exemplu la primele 3 unde sunt 12 ID-uri
e de ajuns si o explicatie sau un exemplu
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