problems with engine
#3

Why making such a mess?

Just do it this way:

Place this timer instead of yours:

pawn Код:
SetTimerEx("CarStart",3000,0,"i",playerid);
and than this:

pawn Код:
forward CarStart(playerid);
public CarStart(playerid)
{
           new engine, lights, alarm, doors, bonnet, boot, objective;
    GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective);
    SetVehicleParamsEx(GetPlayerVehicleID(playerid),1,lights, alarm,doors, bonnet, boot, objective);
           return 1;
}
Btw both of you should watch the syntax of SendClientMessage which isn't playerid,text[] but for this playerid,color,text[]

pawn Код:
//Wrong
SendClientMessage(playerid, "Car Has Started");

//Correct
SendClientMessage(playerid,Some Freaky Color,"Car Has Started");
And why does you kill a not repeating Timer? I don't understand if you even know what you script.
Reply


Messages In This Thread
[Solved]problems with engine - by horsemeat - 16.04.2013, 02:06
Re : problems with engine - by DaTa[X] - 16.04.2013, 02:34
AW: problems with engine - by ulbi1990 - 16.04.2013, 02:54
Re: problems with engine - by horsemeat - 16.04.2013, 21:40
Re: problems with engine - by horsemeat - 17.04.2013, 01:40

Forum Jump:


Users browsing this thread: 1 Guest(s)