Thread: [Plugin] Streamer Plugin
View Single Post
Old 28/05/2017, 09:37 AM   #5629
Logic_'s Avatar
Join Date: Jun 2015
Location: 666
Posts: 1,494
Reputation: 268
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.
Premium quality and reasonable pricing game Server hosting
Logic_ is offline   Reply With Quote