Jump to content
  • 0

Cum pot pune un obiect??


Question

3 answers to this question

Recommended Posts

  • 0
Posted

La inceputul scriptului:

new barrel;

Si asta la OnGamemodeInit()

public OnGameModeInit() {

    barrel = CreateObject(1225, 2242.152, -630.6053, 15, 1.3, 2.5, 5.6);

    return 1;

}

  • 0
Guest romeotheboss
Posted

nu neaparat cu new barrel;  poti si fara e mai simplu pui direct la OngamemodeInt()

CreateObject  bla bla

in caz ca vrei sa folosesti objecut sa se miste bla bla sau sa il folosesti la ceva atunci aplici explicatie de mai sus! ;)

  • 0
Posted

Ca sa vezi cum vine numerele alea:

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

Ex:

CreateObject(1225, 2242.152, -630.6053, 15, 1.3, 2.5, 5.6);

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.