22.05.2013, 12:14
hello
today i created a custom function for incognitos streamer that moves a dynamic pickup heres the code
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
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);
}
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