[REL] Streamer Plugin HELP!
#1

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

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

Yeah Yeah
Reply
#4

Someone to help?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)