16.04.2013, 02:54
Why making such a mess?
Just do it this way:
Place this timer instead of yours:
and than this:
Btw both of you should watch the syntax of SendClientMessage which isn't playerid,text[] but for this playerid,color,text[]
And why does you kill a not repeating Timer? I don't understand if you even know what you script.
Just do it this way:
Place this timer instead of yours:
pawn Код:
SetTimerEx("CarStart",3000,0,"i",playerid);
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;
}
pawn Код:
//Wrong
SendClientMessage(playerid, "Car Has Started");
//Correct
SendClientMessage(playerid,Some Freaky Color,"Car Has Started");