Jump to content

Karuzo

Members
  • Posts

    1,213
  • Joined

  • Last visited

Everything posted by Karuzo

  1. Karuzo

    The last reply

    thats never going to happen!
  2. Karuzo

    voice chat

    Oh yeah sure if he sets the volume to 0 he still can hear it? lol.
  3. Karuzo

    voice chat

    Try to use the function setSoundVolume--with the player element
  4. Yeah copying ideas from others would be the best idea tho. Good Job Goonz.
  5. Karuzo

    Screen picture

    You can use this function: isTransferBoxActive
  6. That would be completely useless if you don't create a texture of that picture. So you're basically just downloading and deleting it.
  7. Why are you triggering to the server when you can make it client-sided? and i said you should call your button different. This could cause some problems.
  8. Ofcourse, since you didn't defined player somewhere. Change line 5 from the server-sided file to : warpPedIntoVehicle(hitElement,autob) //Edit: Aw Solidsnake
  9. The wiki isn't clear in this thing, since it just says:
  10. Don't call your button showChat it could make some troubles. addEventHandler("onClientGUIClick",btn_showChat, function() showChat(false) end )
  11. Karuzo

    The last reply

    lalalalalalalalalalalalalalal
  12. Why should it be fake lol. Theres no image in the screenshot of that script. But this script looks pretty familiar to me.
  13. Karuzo

    Question

    getElementInterior takeWeapon
  14. Or just use the onPlayerWasted event. addEventHandler("onPlayerWasted", root, function(_,killer) if getElementType(killer) == "player" then setPlayerWantedLevel(killer,getPlayerWantedLevel(killer) + 1) end end )
  15. Karuzo

    [HELP]

    Just a fast example: --client addEvent("TriggerClient",true) function SelectSkin () setElementInterior ( getLocalPlayer(), 0, 0,0,0 ) setCameraMatrix( 2745.8266601563,-2231.1694335938,62.25520324707, 3999.9999499991,-2607.4000244141,16.1) skin = createPed ( StartSkin, 2749.7502441406,-2232.7170410156,61.727611541748,60 ) setPedAnimation( skin, "DANCING", SkinAnims[math.random(1,4)]) fadeCamera( true, 10) setTime(0,0) SkinSelectMusic = playSound(SkinMusic,true) bindKey("arrow_r","down",NextSkin) bindKey("arrow_l","down",LastSkin) bindKey(".","down",SpawnPlayer) addEventHandler("onClientRender",getRootElement(),AnnounceSkinJob) showCursor(true) showChat(false) showPlayerHudComponent ( "radar", false ) end addEventHandler("TriggerClient",root,SelectSkin) --server addEventHandler ( "onPlayerLogin",root, function() triggerClientEvent(source,"TriggerClient",root) end ) //Edit: JR10 was faster
  16. That means that your server has too many slots.
  17. You have to use onClientRender event since dx drawings have to be rendered every frame otherwise you would only see them for one frame. So normally tha shouldn't cause laggs. Please show us your current code
  18. Try to set your vehicle exit/enter button to a different one
  19. https://nightly.multitheftauto.com
  20. Yeah obviously the serversided file was loaded before the clientsided one
  21. Where is the clientsided code?
  22. Can't you read or smth like that?
×
×
  • Create New...