Jump to content

Karuzo

Members
  • Posts

    1,213
  • Joined

  • Last visited

Everything posted by Karuzo

  1. ye, but how do i take that coords out ? e.g.: setElementPosition(source, math.random(table) ) I want to choose them randomly.
  2. Hey again, i think it's a small question so i don't make another topic. How can i make a table with some positions for setElementPosition?
  3. Thank you, it works perfectly
  4. Hey Guys, so i have a little problem with my World-Panel. i want to check which row the player has selected. but it doesn't really works. function DeathMatchMaps() if guiGridListGetItemText(World.gridlist[1],guiGridListGetSelectedItem(World.gridlist[1])) ~= "1200" then triggerServerEvent("DeathMatch1" , getLocalPlayer()) outputChatBox("Deathmatch 1'ye warplandin!", 0, 255,0, false) elseif (guiGridListGetItemText == DM2) and (guiGridListGetItemText == DMDim2) then triggerServerEvent("DeathMatch1", getLocalPlayer()) outputChatBox("Deathmatch 2'ye warplandin!", 0, 255, 0, false) end end addEventHandler("onClientGUIClick", World.button[1], DeathMatchMaps) I think that's all you'll need Thank you for your help.
  5. What do you mean with onClientRender() changes it ? Let me give you an example how you could change the dxDrawing : function ZeroSeeds() dxDrawText("Seeds : 0", 697, 580, 842, 652, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", true, true, true, true, false) dxDrawText("Seeds : 0", 697, 578, 842, 650, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", true, true, true, true, false) dxDrawText("Seeds : 0", 695, 580, 840, 652, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", true, true, true, true, false) dxDrawText("Seeds : 0", 695, 578, 840, 650, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", true, true, true, true, false) dxDrawText("Seeds : 0", 696, 579, 841, 651, tocolor(248, 245, 14, 255), 1.00, "default-bold", "left", "top", true, true, true, true, false) end function MoreSeeds() dxDrawText("Seeds : 50", 697, 580, 842, 652, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", true, true, true, true, false) dxDrawText("Seeds : 50", 697, 578, 842, 650, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", true, true, true, true, false) dxDrawText("Seeds : 50", 695, 580, 840, 652, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", true, true, true, true, false) dxDrawText("Seeds : 50", 695, 578, 840, 650, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", true, true, true, true, false) dxDrawText("Seeds : 50", 696, 579, 841, 651, tocolor(248, 245, 14, 255), 1.00, "default-bold", "left", "top", true, true, true, true, false) end function open() opened = not opened if opened == true then addEventHandler("onClientRender", getRootElement(), ZeroSeeds) else removeEventHandler("onClientRender", getRootElement(), ZeroSeeds) addEventHandler("onClientRender", getRootElement(), MoreSeeds) end end addEventHandler("onClientMarkerHit", marker, open) Just an example.
  6. Karuzo

    Need Scripter

    He didn't said that he's going to make it for you. He just thinks that 50 Euro are far too less money. No-one will make RPG Gamemode for 50 €. I think you'll have to put more money to your limit, like 150€ or 200€ .
  7. EufraT im just not going to answer you. B2T: Deepu, which event changes the dxDrawText ? And where do you set your Element-Data "jobs" ?
  8. No, im just sayin. He wants examples? myonlake linked every function so he has an example. Btw, you say im tryin' to get +1 post more ? You double posted.
  9. Why should he ? I mean if you have sold 50 scripts for "free" , you could do that easily. He said what you have to do, just use a variable or a element-data . I mean he spents such time to link everything for you. You just have to click on the links, and voila, you have an example
  10. you should put it in resources/gamemodes/race ^^ Idk the right folder. But you don't put it in the resource-cache
  11. He's trying to help you probably. He said you could replace the dxDrawRectangle , with dxDrawImage. And what do you mean with headshots?
  12. Hey Guys, so i have a question, i created a greenzone with the greenzones script. Ok so i want that this area is only for Acl VIP group.. i want that if the Normal people hit the area will be spawned somewhere else. Hope you can help me
  13. Hey Guys, so i wanted to check if a player is VIP and if the car he wants to enter is a VIP car. But it doesn't really work. vipArabalar = { [494]} function lockPrivate( player, seat, jacked ) local accName = getAccountName ( getPlayerAccount ( player ) ) if ( isObjectInACLGroup ( "user."..accName, aclGetGroup ( "VIP" ) ) ) and ( vipArabalar[getElementModel(source)] )then else cancelEvent() outputChatBox ( "VIP degilsin!", player, 0, 245, 82, false ) end end addEventHandler ( "onVehicleStartEnter", gRoot, lockPrivate )
  14. Karuzo

    Skin change

    Ah yea, well, could you be more specific where ?
  15. Karuzo

    Skin change

    Ye but which event do i need ? I mean , people just easily can do /ss 310.
  16. Karuzo

    Skin change

    Hey Guys, I have a Problem with new Skins. Let's say i have these IDs : 310,311,312 and i want to check if a player is in the group VIP , if he is nothing will happen if he changes his skin. but if hes not in the group he will get an error message and his skin will changed to 0. Hope you could understand me , and can help me
  17. Karuzo

    Blip

    What are you trying to do with getPlayerTeam" class="kw2"> ?
  18. Sup , so i have a problem with executeCommandHandler. I wanted to make a Neon-Panel , ok , so the Commands are /neon red and if i want to execute this command on button click , nothin happens. addEventHandler("onClientGUIClick", Neon.button[1], function() executeCommandHandler("neon blue") guiSetVisible(Neon.window[1], false) showCursor(false) end) Idk if this is correct cause i don't know how i should put that space between neon and blue. Hope you can help me
  19. Ye i corrected it . But thank you for your help.
×
×
  • Create New...