Jump to content

NiuniekTM

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by NiuniekTM

  1. function premiumhud() local px,py,pz = getElementPosition(getLocalPlayer()) local x,y,z = getElementPosition(getLocalPlayer()) local distance = getDistanceBetweenPoints3D ( x,y,z,px,py,pz) if distance <= 10 then local sx,sy = getScreenFromWorldPosition ( x, y, z+1.12, 0.05 ) if not sx then return end local scale = 0.01/(0.01 * (distance / 1)) dxDrawText ( "Premium", sx, sy, sx, sy + 25, tocolor(255,230,100,255), math.min ( 0.07 *(180/distance),1.8), "clear-normal", "center", "bottom", false, false, false ) end end addCommandHandler("premium", premiumhud) Kiedy wpisuje komendę /premium na czacie, pojawia mi się na chwile napis po czym szybko znika. Chciałbym, aby to pokazywało się do czasu opuszczenia serwera. Oraz chciałbym zrobić to na uprawnienie, czyli osoba która ma wybraną range w pliku ACL może wpisać tą komende. Czekam na szybką pomoc!
  2. Hey. I wanted to write a script rank VIP. This was to mean that the player's rank was displayed above the nickname. I failed to. I searched on the pages but did not find. Could someone write a script / code for me? I will be grateful to the person who will do it
×
×
  • Create New...