warning too awesome
#8

Put something on the code to respawn the vehicle when it spawn... Can't explain better but something like that...

I am not sure if is this the function!

pawn Код:
public OnVehicleSpawn(vehicleid)
{
    for(new i=1; i<MAX_VEHICLES; i++)
{
    SetVehicleNumberPlate(i, "TEAMCWA");
    SetVehicleToRespawn(carid);
}

    new string[128];
    format(string,sizeof(string),"[Vehicle Spawn] Vehicle ID: %d Spawned",vehicleid);
    VGas[vehicleid] = Rand(10,100);
    WriteToLog("VehicleLog",string);
    return 1;
}
Not tested, hope it work!
Reply


Messages In This Thread
warning too awesome - by Fool - 24.01.2011, 08:27
Re: warning too awesome - by Retardedwolf - 24.01.2011, 08:29
Re: warning too awesome - by Fool - 24.01.2011, 08:31
Re: warning too awesome - by Stigg - 24.01.2011, 08:32
Re: warning too awesome - by Fool - 24.01.2011, 08:51
Re: warning too awesome - by Stigg - 24.01.2011, 08:53
Re: warning too awesome - by Retardedwolf - 24.01.2011, 08:59
Re: warning too awesome - by ricardo178 - 24.01.2011, 09:01
Re: warning too awesome - by playbox12 - 24.01.2011, 09:02
Re: warning too awesome - by Fool - 24.01.2011, 09:35

Forum Jump:


Users browsing this thread: 2 Guest(s)