Advertisement
Guest User

Untitled

a guest
Aug 12th, 2018
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. new Text3D:vipLabel[MAX_PLAYERS];
  2.  
  3. vipLabel[playerid] = Create3DTextLabel("", -1, 0.0, 0.0, 0.0, 50.0, 0, 1);
  4.  
  5. public OnPlayerDisconnect(playerid, reason)
  6. {
  7. Delete3DTextLabel(vipLabel[playerid]);
  8.  
  9. public OnPlayerSpawn(playerid)
  10. {
  11. Update3DTextLabelText(vipLabel[playerid], -1, "");
  12. if(PlayerInfo[playerid][pVip] != 0) {
  13. Update3DTextLabelText(vipLabel[playerid], COLOR_LIGHTRED, "{FFFF00}VIP USER");
  14. Attach3DTextLabelToPlayer(vipLabel[playerid], playerid, 0.0, 0.0, 0.3);
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement