25.06.2009, 07:14
Try something more along the lines of this:
forward Car(playerid);
The playerid will not, I repeat, will not work unless you call this function through a function already made in SA-MP. In this case I'm guessing it would be used in a command.
forward Car(playerid);
Код:
public Car(playerid)
{
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
CreateVehicle(560, x, y, z, 0.0, 1, 1, 1);
}

