How to attach a label to a player
#1

I WANT TO ATTACH THIS TO THE PLAYER SO WHEN HE DIES AND GETS TP'D IT DOSNT BUG AND STAY THERE.

Код:
PlayerInfo[playerid][pInjuriesText] = CreateDynamic3DTextLabel("(( THIS PLAYER IS DEAD. ))", COLOR_ERROR, x, y, z, 25.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, GetPlayerVirtualWorld(playerid), GetPlayerInterior(playerid), -1, 20.0);
Reply
#2

You mean the 3dtext label will stay there even after the player's death?
You can set a timer for destroying the text after the player's death.
Reply
#3

Under OnPlayerDeath take playerid's x y and z coordinates and create it there.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)