Search Results
That doesn't work since "returnFactionLockers" is a function, thank you anyway
85
pawn Код:
returnFactionLockers(playerid, iFaction){ new szDialog[1024], szGun[32]; strcat(szDialog, "Badge (on/off-duty)\nKevlar Vest (100 armour)\nNew Uniform (100 health)\nX26 Tazer\nH...
85
My MYSQL is loading my factions wrong and my other things, but the faction code is below:
pawn Код:
case THREAD_LOAD_FACTIONS: { new szLabel[128]; fo...
52
All of that data loads fine, its just the vehicles messing up
112
pawn Код:
case THREAD_LOAD_FACVEHS: { for(new row = 0; row < szRows; ++row) { for(new iFac = 1; iFac < MAX_FACTION; iFac++...
112
Quote:
Originally Posted by zPain
Change:
pawn Код:
FactionInfo[szRows]
for:
pawn Код:
FactionInfo[row]
Well, I currently have 2 factions in the database.
It only loads the s...
138
"row" is different to "rows"
szRows is the same as rows
138
Quote:
Originally Posted by magnusburton
Shouldn't this solve it?
pawn Код:
for(new row = 0; row < szRows; row++)
That helped actually, I made it print the name of the faction n...
138
pawn Код:
case THREAD_LOAD_FACTIONS: { new rows, szLabel[128]; cache_get_data(rows, szFields); for(new row = 0; row < szRows; szRow...
138
Not sure, I kinda fixed it.
pawn Код:
case THREAD_LOAD_FACVEHS: { new rows, iFac = 0; for(new row = 0; row < szRows; ++row) { ...
142
Yes, although that code made the vehicles spawn even more
142