Callback / Timers problem
#6

Quote:
Originally Posted by Mencent
Посмотреть сообщение
Can you send us your timer with this callback which doesn't work?
Код:
new tmpcar = GetPlayerVehicleID(playerid);
SetTimerEx("LoadTrailers", 1000, false, "d", tmpcar);
and

Код:
forward LoadTrailers(vehicleid);
public LoadTrailers(vehicleid)
{
    if(IsPlayerInVehicle(playerid,vehicleid))
    {
            new vehicleid = GetPlayerVehicleID(i);
	            new tmpcar = GetPlayerVehicleID(i);
	    AttachTrailerToVehicle(PlayerData[playerid][pTrailer],tmpcar);
	}
	return 1;
}
It is an example.. but i have more function which is not working.
Reply


Messages In This Thread
Callback / Timers problem - by Nin9r - 27.07.2015, 21:27
AW: Callback / Timers problem - by Mencent - 27.07.2015, 21:31
Re: Callback / Timers problem - by Moudix - 27.07.2015, 21:32
Re: Callback / Timers problem - by Nin9r - 27.07.2015, 21:43
AW: Callback / Timers problem - by Mencent - 27.07.2015, 21:44
Re: AW: Callback / Timers problem - by Nin9r - 27.07.2015, 21:53
AW: Callback / Timers problem - by Mencent - 27.07.2015, 22:10
Re: Callback / Timers problem - by Nin9r - 02.08.2015, 07:13
Re: Callback / Timers problem - by Mencent - 02.08.2015, 09:16
Re: Callback / Timers problem - by Nin9r - 07.08.2015, 08:33

Forum Jump:


Users browsing this thread: 3 Guest(s)