22.02.2019, 23:30
Quote:
Don't use the auto incremented ID from the database, instead use your generated ID from the script so everything matches and will be coordinated, basically save the Iter Free generated ID into the database, and whenever you're trying to access data, use the SELECT query and point it to the saved ID, not the AI ID.
|
And for /sellgarage, can i do in this way to check if the garageid the player is trying to sell is valid or not? :
pawn Код:
if(!Iter_Contains(Garages, id) return "Garage ID does not exist."
Insted of using the SELECT query. ^
@Pottus: You're also right but i've been strugglin' with this from 2 days and tried everything.