Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. When i downloaded the MTA-Paradise it had all required files to run, so i don't get why wouldn't be for all the same. mtaserver.conf: <resource src="parasite" startup="1"/> <resource src="paradise" startup="1" protected="1"/> <resource src="sql" startup="1"/> <resource src="irc" startup="1"/> <resource src="server" startup="1"/> <resource src="chat" startup="1"/> <resource src="players" startup="1"/> <resource src="gui" startup="1"/> <resource src="vehicles" startup="1"/> <resource src="interiors" startup="1"/> <resource src="nametags" startup="1"/> <resource src="items" startup="1"/> <resource src="vehicle-shop" startup="1"/> <resource src="admin" startup="1"/> <resource src="shops" startup="1"/> <resource src="job-carrier" startup="1"/> <resource src="job-bus" startup="1"/> <resource src="job-taxi" startup="1"/> <resource src="jobs" startup="1"/> <resource src="world" startup="1"/> <resource src="maps" startup="1"/> <resource src="teleports" startup="1"/> <resource src="anims" startup="1"/> <resource src="freecam" startup="1"/> <resource src="bank" startup="1"/> <resource src="factions" startup="1"/> <resource src="3dtext" startup="1"/> <resource src="injuries" startup="1"/> as you see, they are all in the startup already.
  2. Are those text aligned with ANY resolution?
  3. Citizen, if i'm right when you download it it downloads the server himself, that means everything it's already on startup.
  4. Citizen, i would like to ask to don't give him the whole SCRIPT because i've tryied to teach him on his own language and he won't learn.
  5. Ransom, i think we waited enough and he didn't added me as original creator. P.S: car mod: https://community.multitheftauto.com/index.php?p= ... ls&id=1795
  6. Oh well, my bad i didn't read that.
  7. function CreateSelectorWindow() wdwselector = guiCreateWindow(0.438,0.880,0.15,0.10,"",true) guiWindowSetMovable(wdwselector,false) btnLeft = guiCreateButton(0.0,0.4,0.200,0.350,"<-",true,wdwselector) btnRight = guiCreateButton(0.76,0.4,0.200,0.350,"->",true,wdwselector) btnSelect = guiCreateButton(0.30,0.4,0.400,0.350,"Select",true,wdwselector) guiSetVisible(wdwselector, false) end function selectorenable () CreateSelectorWindow() addEventHandler("onClientGUIClick", btnLeft, clientSkinLeft, false) addEventHandler("onClientGUIClick", btnSelect, clientSkinSelect, false) addEventHandler("onClientGUIClick", btnRight, clientSkinRight, false) if (wdwselector ~= nil) then guiSetVisible(wdwselector, true) triggerServerEvent("FrontCamera", getLocalPlayer()) end showCursor(true) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), selectorenable) function clientSkinSelect(button) guiSetVisible(wdwselector, false) showCursor(false) triggerServerEvent("SkinSelected", getLocalPlayer()) end function clientSkinRight(button) triggerServerEvent("SkinRight", getLocalPlayer()) end function clientSkinLeft(button) triggerServerEvent("SkinLeft", getLocalPlayer()) end Check that.
  8. What is that this is solved if i'm not wrong. P.S: It's not even what he was doing...
  9. It is not, yours uses data.kills, data.deaths as element data, and his use kills and deaths.
  10. Why server side? colshape function is also client side.
  11. That shows it, and setPlayerNametagColor(player,r,g,b) set's their colour.
  12. That's already into nametags system
  13. Do you mean, the Race ranking board?
  14. I don't understand you, the MTA nametags already has their colours.
  15. https://wiki.multitheftauto.com/wiki/Server_Manual
  16. Castillo

    A big problem

    Are you kidding me? do you check the topic date??? Postby kcdclan on Tue Oct 25, 2005 10:03 pm
  17. You are using invalid arguments... --{x, y, width, height, red, green, blue, alpha} local zones = { {1684, -2008, 200, 200, 0, 255, 0, 0}, {0, 0, 200, 200, 0, 255, 0, 0} } function buildSafeZones() for theKey, theZone in ipairs(zones) do local x = tostring(zones[1]) local y = tostring(zones[2]) local width = tostring(zones[3]) local height = tostring(zones[4]) local red = tostring(zones[5]) local green = tostring(zones[6]) local blue = tostring(zones[7]) local alpha = tostring(zones[8]) createColRectangle ( x, y, width, height ) createRadarArea (x, y, width, height, red, green, blue, alpha) end end X, Y doesn't exist, same with R, G, B, A they are red, green, blue, alpha and x,yz
  18. He's asking for something that can be used on Basemode game mode not on a Roleplay
  19. I think, they are strings not numbers.
  20. Start the RP game mode by /start or from the admin panel o_o
  21. then LEARN how to.
  22. I have no credit card or debit card Well, that's not our problem, you should think twice before ask for something like this.
  23. What do you mean?
  24. Are you kidding us or what? do you think some experienced scripter will waste his time scripting for just admin rights? that makes totally no sense, if i would be you, i would offer money.
  25. This makes no sense... he wants to put the player's at the gridlist if i'm not wrong. local x,y = getElementPosition(getLocalPlayer()) colshape = createColCircle ( x, y, 20.0 ) playerList = guiCreateGridList ( 0.80, 0.10, 0.15, 0.60, true ) guiSetVisible(playerList,false) function createPlayerList () -- Create the grid list -- Create a players column in the list local column = guiGridListAddColumn( playerList, "Player", 0.85 ) if ( column ) then -- If the column has been created, fill it with players for id, playeritem in ipairs(getElementsByType("player")) do if isElementWithinColShape(playeritem,colshape) then local row = guiGridListAddRow ( playerList ) guiGridListSetItemText ( playerList, row, column, getPlayerName ( playeritem ), false, false ) end end addEventHandler ( "onClientGUIClick", playerList, click ) end end addEventHandler ( "onClientResourceStart", getRootElement(), createPlayerList ) function click ( button) if button == "left" and source == playerList then local playerName = guiGridListGetItemText ( playerList, guiGridListGetSelectedItem ( playerList ), 1 ) outputChatBox ( playerName ) function visible () guiSetVisible(playerList,true) showCursor(true) end addCommandHandler("pokaz",visible) Try that.
×
×
  • Create New...