Jump to content

Diesulke

Members
  • Content Count

    19
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Diesulke

  • Rank
    Square
  1. You mean in all the maps itself? Is so, the maps work properly in any other server. It is on true.
  2. Diesulke

    Pickup help

    Hello, I've got a question about the VehicleChange pickups. Sometimes in my server, you'll drive into a VehicleChange pickup and then you'll get stuck into an object with your vehicle. Someone told me I had to move the alignVehicleWithUp() functions, but it didn't work. I'm out of ideas, anyone who has experienced with this problem? If so, could you help me out? Thanks!
  3. Hello guys, I've got a question about Puma-marker scripts in [DM] maps. The scripts won't work in our server. But they do work in any other server. Anyone had experience with this? If so, could you please tell me what it could be,
  4. You sure it wasn't just a Gta:sa mod?
  5. Thanks, made it work. Server: addEvent("onColorChangeRequest",true) function changeColor(num) local car = getPedOccupiedVehicle(source) if not car then outputChatBox("You are not in a car!",source,255,255,255,true) return false end setVehicleColor(car,num,num,num,num) end addEventHandler("onColorChangeRequest",getRootElement(),changeColor) Client: function changeColor ( ButtonC ) if ButtonC == "left" then local number4 = guiGetText(TextC) number4 = tonumber(number4) if not number4 then outputChatBox( "Invalid input, use numbers only!"
  6. Could you tell me how to make it server side?
  7. Even when I add the parameter like this: function changeColor ( player, ButtonC ) if ButtonC == "left" then local number4 = guiGetText(TextC) if isPedInVehicle( player ) then local success = setVehicleColor(getPedOccupiedVehicle ( player ), tonumber(number4), tonumber(number4), tonumber(number4), tonumber(number4)) if not success then outputChatBox( "Invalid input, use numbers only!", 255, 255, 255, source ) end end end end it doesn't work.
  8. Hello, My script is not working how it should work. My carcolor should change when I press the button, but when i press the button the car of all players is changing to the same color. function changeColor ( ButtonC ) if ButtonC == "left" then for i, car in ipairs( getElementsByType( "vehicle" ) ) do local number4 = guiGetText(TextC) local success = setVehicleColor(car, tonumber(number4), tonumber(number4), tonumber(number4), tonumber(number4)) if not success then outputChatBox( "Invalid input, use numbers only!", 255, 255, 255, source ) end end end end I als
  9. Question: When i'll output the GUI i've made it gives coordinates like these: local Window = guiCreateWindow(673, 330, 584, 382, "Testing", true) And my friend gets coordinates like these: local Window = guiCreateWindow ( 0.25, 0.30, 0.5, 0.4, "Testing", true ) The problem is, everything works fine in GUIEditor, but when i'll start the GUI i've made in my server. It creates it out of my screen i guess. When i'll change the Window coordinates with the one of my friend, it shows in the middle of the screen. Is there any setting in GUIeditor for different output coordinates?
  10. I do <acl> <group name="Everyone"> <acl name="Default"></acl> <object name="user.*"></object> <object name="resource.*"></object> </group> <group name="Moderator"> <acl name="Moderator"></acl> <object name="resource.mapcycler"></object> <object name="resource.mapmanager"></object> <object name="resource.resourcemanager"></object> <object name="resource.votemanager"></object> <
×
×
  • Create New...