incogitos streamer
#1

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
Reply
#2

Show us how you use that code. Show us all the command/callback in which is used.
Reply
#3

Does the pickup still appear in its original location if you go away (stream out) and come back (stream in)?
Reply
#4

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
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)