Jump to content

AHSS

Members
  • Posts

    87
  • Joined

  • Last visited

Everything posted by AHSS

  1. i want to make a weapon invisible i know how to setElementAlpha(element, 0) will make a player or vehicle invisible is there is a way to make a weapon invisible? thanks in advance
  2. AHSS

    bind 2 keys

    i wanna make a 2key binded function like 1 key pressed and the other after it like CTRL+B will do the function the CTRL must be down in order for the B to work thanks in advance
  3. when i try to debugscript i type debugscript 3 in the console and it gives me this debugscript: Incorrect client type for this command whats the problem? thanks is advance
  4. i want to check if something is in the table im making a table of someplayers wanna check if a player is in it how? thanks in advance
  5. i cant upload my resource on the community keeps telling me "The zip file contains no meta.xml. Please create one for your resource and include it in the zip" i cant figure out why it contains the meta file and i uploaded some resource i downloaded it worked then i extracted zipped it again and then couldnt upload all i do is right click >> add to archive >> then click on zip and ok its zipped but can't upload it why thanks in advance
  6. AHSS

    setPedAnimation

    --command handler function(player, cmd) setPedAnimation(player, 'PAULNMAK', 'wank_loop') end nothing happened thanks in advance
  7. AHSS

    Race Mission

    no i wanna make a race but not a server just a mission race mission not map i know how to make a race map and i know how to use the race resource but the problem is that race resource is a game mode and im on a rpg server with a race mission so how to make the race mission works without the race resource thanks in advance
  8. AHSS

    Race Mission

    i tried to figure out this but couldn't all i want to make is a race mission in a server but if i use the race resource its a gamemode i only want to make a mission not a race gamemode i know how to make a race map using the editor i just wanna know how to use it without using the race resource thanks in advance
  9. switching users to open multi client worked on mta 1.4 but whenever i downloaded 1.5 it just tells me that im opening 2 clients its really important to open 2 clients
  10. np i dont need a script help no i can script it but the problem is that i dont know how to do it i just need to know what the script should be like in normal words not a script thanks in advance
  11. i know that but know the problem is getting the x, y, z i mean getting the player position EDIT: ok proracer's post is deleted thats why i posted this
  12. okay iam in i read it all and i want to sign up
  13. i tried to do this but without a succes i want the player to be kicked if hes inactive (didnt move) for 10min i really tried every thing can u just gimme a hint? not asking for the whole script x, y, z = getElementPosition(theplayer) setTimer(inactivecheck, 600000, 1, theplayer) function inactivecheck(player) if getElementPosition(player) == x, y, z then kickPlayer end it will be something like that but i dont know when to call the first function and its not with a cmd ofc so i wanna know how to set a timer for it too i just cant figure out how to do it i know how to script it but dunno what to script i just wanna know what should i do to make a full inactive kick system just with words not script also script examples wouldnt be bad ty
  14. AHSS

    playing a song

    i wanna play an external song not in gta i tried this meta.xml: 'Inna.mp3' /> server side script058; playSoundFrontEnd(theplayer, "Inna.mp3") but it doesnt play the song it just plays another sound in mta didnt work
  15. when i make a gui my resolution is 1440x900 so when a player with the resolution 800x600 enters the game the gui is fucked up for him so i wanna know how to make a gui the same for all resolutions ty
  16. every one know mods in gta sa for cars skins etc... when i put this mod only me can see it other players see the normal skin for the car i wanna the player who join my server to use that mod like replacing the car with a mod for any one who join the server but when he leaves every thing comes to normal again is that possible?? ty EDIT: nvm i figured out how to do it https://wiki.multitheftauto.com/wiki/EngineLoadTXD https://wiki.multitheftauto.com/wiki/EngineImportTXD https://wiki.multitheftauto.com/wiki/EngineLoadDFF https://wiki.multitheftauto.com/wiki/EngineReplaceModel
  17. ok i did this local gre = getRootElement() -- Direct X Drawing addEventHandler("onClientRender",gre, function() local px, py = getScreenFromWorldPosition (410.5979, -1543.6353, 32.2734, 8000.0) dxDrawImage( px, py, l_w, l_h, "mtalogo.png", 0, 0, 0) end) its working but 1 problem the image still visible all the time i want it visible only if the player is close
  18. ok i want to manage the accounts i added i know that there was a accounts.xml file in older versions so how i delete or manage the accounts?? ty
  19. first i want an image not text second it only appears when im so close to it i want it to be seen from a long distance and AN IMAGE! ty
  20. not really if u tried house system by dakila be4 u will find at each house marker owner: cost: and an image at the top of the marker and its not on the screen its in the map got it? same as ouse system by dakila the house icon and the owner cost text
  21. i want to know how to create an image or a text somehwere in the map like at the ammonation not on the screen no in the world / map when the player approaches the ammonation he sees it how? ty
  22. it worked ty i got another problem i made this script: local guiRandomMSG local gResRoot = getResourceRootElement(getThisResource()) function createrandomgui() local sx, sy = guiGetScreenSize() guiRandomMSG = guiCreateWindow((2/1440) * sx,(880/900) * sy,(1437/1440) * sx,(48/900) * sy,"",false) end addEventHandler("onClientPlayerJoin", getRootElement(), createrandomgui) but it doesnt work i tried the same script with a command handler it worked but didnt work like that whats is the problem?
  23. i made a simple window and a simple botton the problem is that the bottong function happens when i press anywhere in the window(parent) code local guiadminwindow local SlapB function AdminPanel(key, keyState) guiadminwindow = guiCreateWindow(336,76,824,721,"Admin Panel",false) guiadminlabel = guiCreateLabel(424,28,344,60,"Admin Commands",false,guiadminwindow) SlapB = guiCreateButton(433,98,91,20,"Slap",false,guiadminwindow) addEventHandler("onClientGUIClick", SlapB, Slap) end i binded it in a key and when i click on the botton or anywhere on the windo(botton parent) it makes the same function why?? please help
×
×
  • Create New...