Trailer Detect
#1

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;
}
Reply


Messages In This Thread
Trailer Detect - by DerickClark - 22.06.2018, 03:20
Re: Trailer Detect - by Exhibit - 22.06.2018, 12:14
Re: Trailer Detect - by Private200 - 22.06.2018, 13:12
Re: Trailer Detect - by DerickClark - 23.06.2018, 05:08

Forum Jump:


Users browsing this thread: 1 Guest(s)