Attached Objects Disappearing - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Attached Objects Disappearing (
/showthread.php?tid=232328)
Attached Objects Disappearing -
GuikBretas - 27.02.2011
I'm having a problem on AttachedObjects, when i type the command /taser, the taser appears and disappears, what the problem?
Command:
pawn Code:
if(strcmp(cmd, "/taser", true) == 0)
{
SetPlayerAttachedObject(playerid, 0, 18642, 6, 0.06, 0.01, 0.08, 180.0, 0.0, 0.0);
return 1;
}
Gamemode: LARP
Re: Attached Objects Disappearing -
Mean - 27.02.2011
Probbably in your code there is something that is removing the attached objects every few moments.