foreach problem or somthing
#3

According to GangListSetup function, "Gangs" iterator contains used slots of array but Gang[i][gID] is different.

In GangJoinSetup function, you will need to send a query to check if gang ID is found in database and if it does, then your loop searches which slot of "Gangs" iterator is equal to gangid player input.
Reply


Messages In This Thread
foreach problem or somthing - by LevelT - 12.06.2018, 04:07
Re: foreach problem or somthing - by Dayrion - 12.06.2018, 10:33
Re: foreach problem or somthing - by Calisthenics - 12.06.2018, 10:45
Re: foreach problem or somthing - by poppingrose - 12.06.2018, 14:22

Forum Jump:


Users browsing this thread: 1 Guest(s)