Pomoc - AttachedObject

Započeo Benac
20. Mar. 2014. Zaključano
329
pregleda
5
postova
Benac
4
Enforcer
20. Mar. 2014.
SKRIPTA:
PROBLEM: zanima me kakva je vo razlika =?
DIO KODA:
public OnPlayerSpawn(playerid)
{
    SetPlayerAttachedObject(playerid, 3, 1609, 2); //Attach a turtle to the playerid's head, in slot 3

    // example of using colors on an object being attached to the player:
    SetPlayerAttachedObject(playerid, 3, 19487, 2, 0.101, -0.0, 0.0, 5.50, 84.60, 83.7, 1, 1, 1, 0xFF00FF00);
    // Attach a white hat to the head of the player and paint it green
    return 1;
}

tocnije izmedju
   
SetPlayerAttachedObject(playerid, 3, 1609, 2);
//Attach a turtle to the playerid's head, in slot 3

    // example of using colors on an object being attached to the player:
   
SetPlayerAttachedObject(playerid, 3, 19487, 2, 0.101, -0.0, 0.0, 5.50, 84.60, 83.7, 1, 1, 1, 0xFF00FF00);

    // Attach a white hat to the head of the player and paint it green
SLIKE:
James_SmithXDl
6
OG Legend
20. Mar. 2014.
ovo si uzeo sa wikija mogao si pogledat iznad i vidio bi sta je sta..
Benac
4
Enforcer
20. Mar. 2014.
p da razumijem to nebi posto zar ne ?
atomic power
3
Hustler
20. Mar. 2014.
SetPlayerAttachedObject(playerid, 3, 1609, 2);

Ovo ti postavlja objekat na igraca, njemu na slot 3, na glavu.
SetPlayerAttachedObject(playerid, 3, 19487, 2, 0.101, -0.0, 0.0, 5.50, 84.60, 83.7, 1, 1, 1, 0xFF00FF00);

Ovo postavlja objekat na slot 3, na glavu. I objektu je jos odredeno tocno mjesto gdje ce stajati, kako ce biti zakrenut, koje ce biti velicine i promijenjena mu je boja.
Benac
4
Enforcer
23. Mar. 2014.
cekaj ovo 1 je mjesto na cega se ljepi objekat ?

-A sta su
SetPlayerAttachedObject(playerid, 3, 1609, 2);

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha