DanielG Posted May 21, 2011 Report Posted May 21, 2011 SalutareAm facut o comanda de atasat obiecte de player cu functia SetPlayerAttachedObjectProblema este ca de fiecare data cand dau obiectul nu sta mai mult de 1 secunda si dispare Ma puteti ajuta va rog ?
scr3ws0f7 Posted May 22, 2011 Report Posted May 22, 2011 pai posteaza aici liniile cu SetPlayerAttachedObject sa vedem unde e problema :laugh: <a href=http://devilone.ro></a>
DanielG Posted May 22, 2011 Author Report Posted May 22, 2011 uite [pawn]if(listitem == 0) { PlayerInfo[playerid][pLente] = 19006; SetPlayerAttachedObject(playerid, 1, PlayerInfo[playerid][pLente], 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]); } if(listitem == 1) { PlayerInfo[playerid][pLente] = 19007; SetPlayerAttachedObject(playerid, 1, PlayerInfo[playerid][pLente], 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]); } if(listitem == 2) { PlayerInfo[playerid][pLente] = 19008; SetPlayerAttachedObject(playerid, 1, PlayerInfo[playerid][pLente], 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]); } if(listitem == 3) { PlayerInfo[playerid][pLente] = 19009; SetPlayerAttachedObject(playerid, 1, PlayerInfo[playerid][pLente], 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]); } if(listitem == 4) { PlayerInfo[playerid][pLente] = 19010; SetPlayerAttachedObject(playerid, 1, PlayerInfo[playerid][pLente], 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]); } if(listitem == 5) { PlayerInfo[playerid][pLente] = 19011; SetPlayerAttachedObject(playerid, 1, PlayerInfo[playerid][pLente], 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]); } if(listitem == 6) { PlayerInfo[playerid][pLente] = 19012; SetPlayerAttachedObject(playerid, 1, PlayerInfo[playerid][pLente], 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]); } if(listitem == 7) { PlayerInfo[playerid][pLente] = 19013; SetPlayerAttachedObject(playerid, 1, PlayerInfo[playerid][pLente], 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]); } if(listitem == 8) { PlayerInfo[playerid][pLente] = 19014; SetPlayerAttachedObject(playerid, 1, PlayerInfo[playerid][pLente], 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]); } if(listitem == 9) { PlayerInfo[playerid][pLente] = 19015; SetPlayerAttachedObject(playerid, 1, PlayerInfo[playerid][pLente], 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]); } if(listitem == 10) { PlayerInfo[playerid][pLente] = 19016; SetPlayerAttachedObject(playerid, 1, PlayerInfo[playerid][pLente], 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]); } if(listitem == 11) { PlayerInfo[playerid][pLente] = 19017; SetPlayerAttachedObject(playerid, 1, PlayerInfo[playerid][pLente], 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]); } if(listitem == 12) { PlayerInfo[playerid][pLente] = 19018; SetPlayerAttachedObject(playerid, 1, PlayerInfo[playerid][pLente], 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]); } if(listitem == 13) { PlayerInfo[playerid][pLente] = 19019; SetPlayerAttachedObject(playerid, 1, PlayerInfo[playerid][pLente], 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]); } if(listitem == 14) { PlayerInfo[playerid][pLente] = 19020; SetPlayerAttachedObject(playerid, 1, PlayerInfo[playerid][pLente], 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]); } if(listitem == 15) { PlayerInfo[playerid][pLente] = 19021; SetPlayerAttachedObject(playerid, 1, PlayerInfo[playerid][pLente], 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]); } if(listitem == 16) { PlayerInfo[playerid][pLente] = 19022; SetPlayerAttachedObject(playerid, 1, PlayerInfo[playerid][pLente], 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]); } if(listitem == 17) { PlayerInfo[playerid][pLente] = 19023; SetPlayerAttachedObject(playerid, 1, PlayerInfo[playerid][pLente], 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]); } if(listitem == 18) { PlayerInfo[playerid][pLente] = 19024; SetPlayerAttachedObject(playerid, 1, PlayerInfo[playerid][pLente], 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]); } if(listitem == 19) { PlayerInfo[playerid][pLente] = 19025; SetPlayerAttachedObject(playerid, 1, PlayerInfo[playerid][pLente], 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]); } if(listitem == 20) { PlayerInfo[playerid][pLente] = 19026; SetPlayerAttachedObject(playerid, 1, PlayerInfo[playerid][pLente], 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]); } if(listitem == 21) { PlayerInfo[playerid][pLente] = 19027; SetPlayerAttachedObject(playerid, 1, PlayerInfo[playerid][pLente], 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]); } if(listitem == 22) { PlayerInfo[playerid][pLente] = 19028; SetPlayerAttachedObject(playerid, 1, PlayerInfo[playerid][pLente], 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]); } if(listitem == 23) { PlayerInfo[playerid][pLente] = 19029; SetPlayerAttachedObject(playerid, 1, PlayerInfo[playerid][pLente], 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]); } if(listitem == 24) { PlayerInfo[playerid][pLente] = 19030; SetPlayerAttachedObject(playerid, 1, PlayerInfo[playerid][pLente], 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]); } if(listitem == 25) { PlayerInfo[playerid][pLente] = 19031; SetPlayerAttachedObject(playerid, 1, PlayerInfo[playerid][pLente], 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]); } if(listitem == 26) { PlayerInfo[playerid][pLente] = 19032; SetPlayerAttachedObject(playerid, 1, PlayerInfo[playerid][pLente], 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]); } if(listitem == 27) { PlayerInfo[playerid][pLente] = 19033; SetPlayerAttachedObject(playerid, 1, PlayerInfo[playerid][pLente], 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]); } if(listitem == 28) { PlayerInfo[playerid][pLente] = 19034; SetPlayerAttachedObject(playerid, 1, PlayerInfo[playerid][pLente], 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]); } if(listitem == 29) { PlayerInfo[playerid][pLente] = 19035; SetPlayerAttachedObject(playerid, 1, PlayerInfo[playerid][pLente], 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]); }[/pawn]
shaun Posted May 22, 2011 Report Posted May 22, 2011 :shocked: incearca cu Asta CHECK MY CHANNEL!http://www.youtube.com/user/amysoica
shaun Posted May 22, 2011 Report Posted May 22, 2011 cred ca numai pt 0.3c merge :| CHECK MY CHANNEL!http://www.youtube.com/user/amysoica
Question
DanielG
Salutare
Am facut o comanda de atasat obiecte de player cu functia SetPlayerAttachedObject
Problema este ca de fiecare data cand dau obiectul nu sta mai mult de 1 secunda si dispare
Ma puteti ajuta va rog ?
5 answers to this question
Recommended Posts