Thread: [Plugin] Streamer Plugin
View Single Post
Old 28/05/2017, 10:37 AM   #5629
Logic_'s Avatar
Join Date: Jun 2015
Location: Next to Oblivion (Kalcor's place)
Posts: 1,275
Reputation: 220
Default Re: Streamer Plugin

Originally Posted by AbyssMorgan View Post
PHP Code:
CreatePlayer3DTextLabel(playeridtext[], colorFloat:XFloat:YFloat:ZFloat:DrawDistanceattachedplayer=INVALID_PLAYER_IDattachedvehicle=INVALID_VEHICLE_IDtestLOS=0);
CreateDynamic3DTextLabel(const text[], color, Float:x, Float:y, Float:z, Float:drawdistance,
attachedplayer = INVALID_PLAYER_ID, attachedvehicle = INVALID_VEHICLE_ID, testlos = 0,
worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_3D_TEXT_LABEL_SD, STREAMER_TAG_AREA areaid = STREAMER_TAG_AREA -1, priority = 0);
I've worked with dynamic labels per player but for some reason they get attached to wrong player when the player disconnects/ dies/ spectates, while I also destroy label on OnPlayerDeath, OPDisconnect and in such other places.

Providing SA-MP, G-MOD, Web hosting and Hosted tab listing for cheap @

<Out of SA-MP scene as of January 2018>
<I'm selling unique sa-mp scripts for those who want to buy them>
<Evolution Prison Roleplay releasing sooner this week>
<Two of my TDM scripts are leaked and running on other servers >
Logic_ is offline   Reply With Quote