Jump to content

fairyoggy

Members
  • Posts

    269
  • Joined

  • Last visited

Everything posted by fairyoggy

  1. and how to write a condition that something like "if button == N then triggerClientEvent( hitPlayer, "showAmmoGUI_Ed", getRootElement(), hitPlayer, marker ) else CancelEvent() ___ how to make it right?
  2. I’m ready to do that when a player gets on a marker. The gui window opens but i need when the player is on the marker, you must click the button (for example, N) and after clicking the button, the gui window will open. It is necessary that this button (N) works only in the marker area
  3. Can you tell me how to make the star size the same for all resolutions?
  4. Hello! Can you help me to write a script for wanted lvl. I want to do so: there will be a picture in format png(star.png) and when player have (example 2 lvl wanted ) then two identical pictures will appear (star.png) in given coordinates(example under the hud). Need custom script for wanted level not default.
  5. Rotation the heads of other players is still not visible. and I had problems with a local player. The head began to vibrate hard
  6. I have script for head (head rotation by mouse). but it's cliend side and only 1 player sees this. I mean only 1 player can see this actions(Example You can see only your head rotation but not other players) How to make it translate to the server so that all players see the head rotation?
  7. dont work and warning in console about deprecated
  8. so i can't use standard chatbox? just bind another key. I don't need to delete the old button.I just need to add another button to call the chat.
  9. ye, now it's work. I will try to work with these examples to solve my problems. Can I have another question? I would like to bind key to open a chat, I mean when a player presses a button "T" appears text line How can I do the same thing on another button?
  10. Your example not working(or i dont undestand), I tried to just make your example and nothing comes out. get out various errors( 1. call:failed to call "mycustomhud:out" [string "?"] 2. [server] OnClientLogin is deprecated and may not work in future versions. Can you create working script like this example? When player login a message appears in the chat.
  11. UP. it's didn't work because in meta.xml cache = false and scripts work
  12. Sorry for my bad english. I have 2 custom scripts (hud, radar). So if player join on server he sees these scripts (hud, radar) but that's not what i need. setPlayerHudComponentVisible( source, "all", false ) didn't work for that. I think because it's custom scripts. So I need to hide these 2 scripts for "onPlayerJoin" and when player "onPlayerLogin" this scripts will be start. So if i try to use cache off and after "onPlayerLogin" this scripts will be download or start. These actions will help me?
  13. I mean these resources are necessary, but hide or dont start for players who not login. and when they login this resource will be started or unhide
  14. Hello! Can you help me? How can I hide(or stop) the script for only one player? Example: the player connect in server and he does not see the necessary script but when player press the button "login" this script will be displayed or start (if can't just hide) or how i can hide or stop script for players who are in a group (guest) if isGuestAccount(getPlayerAccount(player)) then ... How?
×
×
  • Create New...