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:[/b]
ovo si uzeo sa wikija mogao si pogledat iznad i vidio bi sta je sta..
p da razumijem to nebi posto zar ne ?
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.
cekaj ovo 1 je mjesto na cega se ljepi objekat ?
-A sta su
SetPlayerAttachedObject(playerid, 3, 1609, 2);