Thread: [Plugin] Streamer Plugin
View Single Post
Old 28/05/2017, 09:37 AM   #5629
Logic_'s Avatar
Join Date: Jun 2015
Location: Oblivion (#RIPX)
Posts: 1,473
Reputation: 263
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.
RIP XXXTentacion [1998-2018], Fredo [1990-2018]

My Releases: Click me!

Past experiences:
Ex- Developer of COD: Black Ops 3 [2017 - 2018], Palomino Creek RP [2018], NEG [2017], Zombieland [2015] and Evolution Prison RP [2017]

Working on: Catalyst TDM (Redefining TDM)
Logic_ is offline   Reply With Quote