SA-MP Forums Archive
How to build car stand - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to build car stand (/showthread.php?tid=579836)



How to build car stand - orel56000 - 30.06.2015

Hello,
I want to build car stand.
I found a object with this stand but its with a garage (ID:14776)



Sorry for my bad English.


Re: How to build car stand - Bomber07 - 30.06.2015

CreateObject(ObjectID, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ);

Exemple:
Код:
public OnGameModeInit()
{
    CreateObject(2587, 2001.195679, 1547.113892, 14.283400, 0.0, 0.0, 96.0); // Object will render at its default distance.
    CreateObject(2587, 2001.195679, 1547.113892, 14.283400, 0.0, 0.0, 96.0, 300.0); // Object will render at 300.0 units.
    return 1;
}



Re: How to build car stand - orel56000 - 30.06.2015

Quote:
Originally Posted by Bomber07
Посмотреть сообщение
CreateObject(ObjectID, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ);

Exemple:
Код:
public OnGameModeInit()
{
    CreateObject(2587, 2001.195679, 1547.113892, 14.283400, 0.0, 0.0, 96.0); // Object will render at its default distance.
    CreateObject(2587, 2001.195679, 1547.113892, 14.283400, 0.0, 0.0, 96.0, 300.0); // Object will render at 300.0 units.
    return 1;
}
Its not what I asking for , I want only the stand, but he coming with the garage, how i can build only the stand ?