This Weird or Fixable?
#1

i just create public timer to respawn the car only car type rentable and witout driver

so

PHP код:
public Cartime()
{
    new 
bool:vehicleused[MAX_VEHICLES];
    foreach (new 
Player)
    {
        if(
IsPlayerConnected(x) && IsPlayerInAnyVehicle(x))
        {
            
vehicleused[GetPlayerVehicleID(x)] = true;
        }
    }
    for(new 
i=1<= MAX_CARi++)
    {
        if(
CarInfo[Carid[i]][cType] == 3)
        {
             if(
CarInfo[Carid[i]][cTime] <= && strcmp(CarInfo[Carid[i]][cOwner], "None"true))
            {
                
strmid(CarInfo[Carid[i]][cOwner], "None"0strlen("None"), 255);
                
SetVehicleToRespawn(Carid[i]);
                
CarInfo[Carid[i]][cTime] = 0;
            }
            if(
CarInfo[Carid[i]][cTime] > 0)
            {
                
CarInfo[Carid[i]][cTime] --;
            }
               if(!
vehicleused[i] && !strcmp(CarInfo[Carid[i]][cOwner], "None"true))
            {
                
SetVehicleToRespawn(i);
            }
        }
    }
    
printf("proceed"); 
everything workfine but it don't send proceed printf

my max_car is 2000
Reply


Messages In This Thread
This Weird or Fixable? - by SequenceCuz - 07.12.2014, 00:19
Re: This Weird or Fixable? - by SequenceCuz - 07.12.2014, 01:32
Re: This Weird or Fixable? - by SkyCloud - 07.12.2014, 02:11
Re: This Weird or Fixable? - by SequenceCuz - 07.12.2014, 02:33
Re: This Weird or Fixable? - by SequenceCuz - 07.12.2014, 03:22

Forum Jump:


Users browsing this thread: 1 Guest(s)