26.06.2018, 19:35
tipo o pickup normal fica no alto eu quero deixar a bolsa do pickup no chгo como faзo ?
new Float:dropPos[3]; GetPlayerPos(playerid, dropPos[0], dropPos[1], dropPos[2]); CreateObject(1550, dropPos[0] + 1.0, dropPos[1] + 1.0, dropPos[2] + -0.60, 0.0, 0.0, 358.0); //object(cj_money_bag) (1)
CreatePickup(1550, 1, X, Y, Z, -1); // PICKUP NORMAL, SEM EDIЗХES NAS COORDENADAS. CreatePickup(1550, 1, X, Y, Z - 0.4, -1); // PICKUP COM A COORDENADA Z EDITADA!
new Float:pos[3];
GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
/* pos[0] = X
pos[1] = Y
pos[2] = Z */
CreatePickup(1550, 1, pos[0], pos[1], pos[2]-0.6, -1);