22.06.2018, 03:20
How can i detect a trailer? when attach. /printtrailer and get x,y,z while attach.
Код:
CMD:printveh(playerid, params[])
{
new string[50];
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
format(string, sizeof(string), "CreateVehicle(vehicleid,%f,%f,%f,0,-1, -1, 6000000);", x, y, z);
SendClientMessageToAll(-1, string);
SendClientMessage(playerid,-1,"Saved");
return 1;
}


