24.01.2013, 19:48
Ok, ive finally made my vehicle system partly work... problem is that its not setting a unique id meaning that if i would to buy 2 cars it would only kick me out one of them if i wasnt the owner..
So whats wrong?
So whats wrong?
pawn Код:
//out of the call back
new vehicles[100];
//in callback
new ID = 0;
while(ID < sizeof(vehicles) && vehicles[ID])
{
ID++;
}
vehicles[ID] = ID;