SA-MP Forums Archive
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: Streamer (/showthread.php?tid=348161)



Streamer - N0FeaR - 04.06.2012

The icon wont come up, CreateDynamicPickup.

pawn Код:
for(new c = 0; c < sizeof(CellStat); c++)
    {
        if(CellStat[c][Owned] == 0)
        {
            Create3DTextLabel("Cell",0x38FF06FF,CellStat[c][ExteriorX], CellStat[c][ExteriorY], CellStat[c][ExteriorZ]+0.75, 25.0, 0);
            CellStat[c][PickupID]=CreateDynamicPickup(1273, 1, CellStat[c][ExteriorX], CellStat[c][ExteriorY], CellStat[c][ExteriorZ]);
        }
        if(CellStat[c][Owned] == 1)
        {
            Create3DTextLabel("Cell",0x38FF06FF,CellStat[c][ExteriorX], CellStat[c][ExteriorY], CellStat[c][ExteriorZ]+0.75, 25.0, 0);
            CellStat[c][PickupID]=CreateDynamicPickup(1239, 1, CellStat[c][ExteriorX], CellStat[c][ExteriorY], CellStat[c][ExteriorZ]);
        }
    }
    return 1;