19.07.2010, 19:28
Just attempted to compile, and I get the following:
I couldn't make sense of the errors
Note: I canged CarTimer to TaxiTimer
Код:
(2476) : error 025: function heading differs from prototype (2478) : error 017: undefined symbol "Y" (56470) : warning 202: number of arguments does not match definition (56470) : warning 202: number of arguments does not match definition (56470) : warning 202: number of arguments does not match definition (56470) : warning 202: number of arguments does not match definition
Note: I canged CarTimer to TaxiTimer
pawn Код:
public TaxiTimer(Float:X, Float:Z, Float:Z) //Line 2476
{
new carid = CreateVehicle(438, X,Y+5,Z+1, 0.0, 6, 6, 15); //Line 2478
CreatedCars[CreatedCar] = carid;
CreatedCar ++;
}
if(strcmp(cmd, "/gettaxi", true) == 0)
{
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SendClientMessage(playerid, COLOR_HELP, "A car will be to your position in 2 Minutes");
SetTimer("TaxiTimer",60*2*1000, false, "%f %f %f", X, Y, Z); //Line 56470
return 1;
}