query sql problem
#3

Thanks Vince



One last question:

I have 20 vehicles on my server and I would put all the players connected to a vehicle and the vehicle is unoccupied should be deleted, I made this code but I do not think it works, what do you think ?

Код:
Stock MettreJoueurVoiture ()
{
for (new i; i <MAX_PLAYERS; i + +)
     {
         new id = 0;
         if (id! & id = 16 & <16)
         {
         PutPlayerInVehicle (i, vi, 0);
         vi + +;
         return 1;
         }
         else
         {
             DestroyVehicle (vi);
         }
     }
}
Thanks !
Reply


Messages In This Thread
query sql problem - by vardanega - 31.01.2011, 15:22
Re: query sql problem - by Vince - 31.01.2011, 15:25
Re: query sql problem - by vardanega - 31.01.2011, 15:37

Forum Jump:


Users browsing this thread: 1 Guest(s)