SA-MP Forums Archive
[REL] Streamer Plugin HELP! - 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: [REL] Streamer Plugin HELP! (/showthread.php?tid=307126)



[REL] Streamer Plugin HELP! - SuperChock - 29.12.2011

Hello, I made a system for load pickups, with [REL] Streamer Plugin v2.6 BETA and Y_Ini.

pawn Код:
if(fexist(Amocas))
{
          printf("%s", Amocas);
         INI_ParseFile(Amocas, "LOADARMASAMOCAS", false, true, Amok, true, false);
         print("----------------");
         printf("Init:Armas[2][0] = %d", Drops[Amok][ADropou][0]);
         printf("Init:Armas[2][1] = %d", Drops[Amok][MDropou][0]);
         printf("Init:Armas[3][0] = %d", Drops[Amok][ADropou][1]);
         printf("Init:Armas[3][1] = %d", Drops[Amok][MDropou][1]);
         printf("Init:Armas[4][0] = %d", Drops[Amok][ADropou][2]);
         printf("Init:Armas[4][1] = %d", Drops[Amok][MDropou][2]);
         printf("Init:Armas[5][0] = %d", Drops[Amok][ADropou][3]);
         printf("Init:Armas[5][1] = %d", Drops[Amok][MDropou][3]);
         printf("Init:Armas[6][0] = %d", Drops[Amok][ADropou][4]);
         printf("Init:Armas[6][1] = %d", Drops[Amok][MDropou][4]);
         printf("Init:ArmasCoordX = %f", Drops[Amok][DropPos][0]);
         printf("Init:ArmasCoordY = %f", Drops[Amok][DropPos][1]);
         printf("Init:ArmasCoordZ = %f", Drops[Amok][DropPos][2]);
         print("----------------");

         Drops[Amok][Pickup] = CreateDynamicPickup(1575, 1, Drops[Amok][DropPos][0], Drops[Amok][DropPos][1], Drops[Amok][DropPos][2] -0.92, -1, -1, -1, 20.0), print("CREATED.");
     }
}
But the system doesn't work... the pickups isn't show. I replace CreateDynamicPickup for CreatePickup and the system work perfectly. The problem is CreateDynamicPickup.

By the way, if I use printf("Dynamic Pickups: %d", CountDynamicPickups()); the server displays Dynamic Pickups: 1, in other words, the pickup is being created, but doesn't appear.

Oh, the printfs are reporting correct values of variables.

Help me please and sorry from my bad english.


Re: [REL] Streamer Plugin HELP! - MAVERICKS - 29.12.2011

did you put in script
pawn Код:
#include <streamer>
etc.?


Re: [REL] Streamer Plugin HELP! - SuperChock - 29.12.2011

Yeah Yeah


Re: [REL] Streamer Plugin HELP! - SuperChock - 29.12.2011

Someone to help?