Jump to content
  • 0

problema comanda /veh


RED.SG

Question

Salut!Am facut o comanda pentru spawnarea masinilor, /veh, si am o problema cu ea(P.S.:sunt incepator in pawn)

CMD:veh(playerid, params[]) {
	new Float:PPos[4], id, color1, color2;
	if(sscanf(params, "iii", id, color1, color2)) return SendClientMessage(playerid, COLOR_TEAL, "Syntax: /veh (id) (color1) (color2)");
	GetPlayerPos(playerid, Float:PPos[0], Float:PPos[1], Float:PPos[2]);
	CreateVehicle(id, Float:PPos[0], Float:PPos[1], Float:PPos[2], Float:PPos[3], color1, color2, -1);
	return 1;
}

Vreau sa pun player-ul in masina dar am o problema, nu stiu cum sa fac la vehicleid, adica nu stiu ce sa pun.Apreciez daca m-ati putea ajuta.

An nou fericit!

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.