incogitos streamer - 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)
+--- Thread: incogitos streamer (
/showthread.php?tid=438837)
incogitos streamer -
Terminator1 - 22.05.2013
hello
today i created a custom function for incognitos streamer that moves a dynamic pickup heres the code
pawn Код:
stock MoveDynamicPickup(pickupid, Float:X, Float:Y, Float:Z)
{
Streamer_SetFloatData(STREAMER_TYPE_PICKUP, pickupid, E_STREAMER_X, X);
Streamer_SetFloatData(STREAMER_TYPE_PICKUP, pickupid, E_STREAMER_Y, Y);
Streamer_SetFloatData(STREAMER_TYPE_PICKUP, pickupid, E_STREAMER_Z, Z);
}
this should be faster as its only clling one function not 2 but it doesn't actually work
i run this code to move a pickup the pickup vanishes and goes to where i ask until about 0.5 seconds later when it comes back and goes to its original position even though i have altered its values
as a not once the pickup moves back the one i just created still remains yet does nothing as no code is applied to it
Re: incogitos streamer -
IstuntmanI - 22.05.2013
Show us how you use that code. Show us all the command/callback in which is used.
Re: incogitos streamer -
Vince - 22.05.2013
Does the pickup still appear in its original location if you go away (stream out) and come back (stream in)?
Re: incogitos streamer -
Terminator1 - 22.05.2013
MoveDynamicPickup(HouseEnter[hID], HouseInfo[hID][hEnter][0], HouseInfo[hID][hEnter][1], HouseInfo[hID][hEnter][2]);
and when i walk out and walk back both the one that moved and the one where it was orihinally are still there