Započeo Benac
•20. Mar. 2014.• ZaključanoPomoc - AttachedObject
350
pregleda
5
postova
Enforcer
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
206
Postovi:
45
Teme:
Pridružio se:Dec. 2013
20. Mar. 2014.
SKRIPTA:
PROBLEM: zanima me kakva je vo razlika =?
DIO KODA:
tocnije izmedju
// example of using colors on an object being attached to the player:
// Attach a white hat to the head of the player and paint it green
SLIKE:
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:
Hustler
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
66
Postovi:
15
Teme:
Pridružio se:Jan. 2014
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.
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava