Jump to content

Smart.

Members
  • Posts

    340
  • Joined

  • Last visited

Everything posted by Smart.

  1. You sure that the player actually got more than 50 points?
  2. The video doesn't start, could you explain what's wrong/not working?
  3. You're correct and honestly, I have no idea how it's possible.
  4. If I understood you correctly, you can use this script: function duplicateSerial(nick, ip, user, serial) for i, p in pairs(getElementsByType("player")) do if (serial == getPlayerSerial(p)) then kickPlayer(p, "Serial in use by somebody who's connecting") end end end addEventHandler("onPlayerConnect", root, duplicateSerial)
  5. Smart.

    Animations

    ped1 = createPed( 87, -285.9, 1206, 73.5 ) setElementDimension( ped1, 1 ) setPedAnimation( ped1, "STRIP", "PLY_CASH" -1, true, false, true ) That's optional
  6. Smart.

    close this topic

    1.Buy domain 2.Buy VPS/dedi 3. PROFIT
  7. Smart.

    Creating Ped

    Err.. and that's the full script?
  8. Smart.

    Creating Ped

    Try to freeze it and see what happens or higher your Z position because it may be too low causing the ped to fall down EDIT: You sure the interior is correct? (setElementInterior)
  9. The script I posted works perfectly on my server.
  10. Make sure you're in the correct team. SERVER: markerp = createMarker( 1556.9852294922, -1608.1356201172, 12.3828125, "cylinder", 2, 0, 0, 255, 255 ) marker2p = createMarker( 1570.1909179688, -1610.1462402344, 12.3828125, "cylinder", 2, 0, 0, 255, 255 ) marker3p = createMarker( 1584.61328125, -1608.2557373047, 12.3828125, "cylinder", 2, 0, 0, 255, 255 ) marker4p = createMarker( 1595.1407470703, -1607.5220947266, 12.3828125, "cylinder", 2, 0, 0, 255, 255 ) local vehicles = {} function spawnVehP(id) local team = getPlayerTeam(source) local theTeamName = getTeamName(team) if ( theTeamName == "police" ) or ( theTeamName == "FBI" ) then local x, y, z = getElementPosition(source) if isElement(vehicles[source]) then destroyElement(vehicles[source]) end vehicles[source] = createVehicle(id, x + 1, y, z) warpPedIntoVehicle(source, vehicles[source]) else outputChatBox("Only police agents and FBI can get free vehicles from here!", source, 255, 0, 0) end end addEvent("CreVehiceP",true) addEventHandler("CreVehiceP", root, spawnVehP) addEventHandler("onPlayerQuit", root, function() if isElement(vehicles[source]) then destroyElement(vehicles[source]) vehicles[source] = nil end end) function showGUIp(hitPlayer) setElementFrozen(source, true) triggerClientEvent (hitPlayer,"showGUI2p",getRootElement(),hitPlayer) end addEventHandler("onMarkerHit",markerp,showGUIp) function showGUIp(hitPlayer) setElementFrozen(source, true) triggerClientEvent (hitPlayer,"showGUI2p",getRootElement(),hitPlayer) end addEventHandler("onMarkerHit",marker2p,showGUIp) function showGUIp(hitPlayer) setElementFrozen(source, true) triggerClientEvent (hitPlayer,"showGUI2p",getRootElement(),hitPlayer) end addEventHandler("onMarkerHit",marker3p,showGUIp) function showGUIp(hitPlayer) setElementFrozen(source, true) triggerClientEvent (hitPlayer,"showGUI2p",getRootElement(),hitPlayer) end addEventHandler("onMarkerHit",marker4p,showGUIp)
  11. Smart.

    Scripting

    Nah, I just wanted to be the boring one,
  12. /debugscript 3 and tell us the errors
  13. It's not, onebip takes a HUGE % of the payment, atleast %50 of the payment afaik
  14. Smart.

    Scripting

    Lolz, exactly! just a question, why we understood it while you didn't? Cause you're reading it without using your brian You can't read without using your brain
  15. Open your ports and then find out your "public" IP: http://www.whatsmyip.org
  16. no offence, but this does not seem serious at all.
  17. server function getIP() local ip = getPlayerIP(source) setElementData(source, "IP", ip) end addEvent("getIP", true) addEventHandler("getIP", root, getIP) client triggerServerEvent("getIP", localPlayer) local ip = getElementData(localPlayer, "IP") guiSetText(label, ip)
  18. Smart.

    smartphone

    Go with an iPhone 5.
  19. It's basically the same, I just didn't see solidsnakes reply.
  20. if (countPlayersInTeam( theTeamJuggernaut ) > 3 ) then return end
  21. Anderl, why even bother?
  22. I want a picture of a picture being a picture
  23. Smart.

    Admin Panel

    you cant unless you edit the current resource :(
  24. local thrownout = { [ID]=true, } if (thrownout[getElementModel(theVehicle)]) then outputChatBox ("works!! fap fap fap") end edit: if you want to use name instead, use getVehicleModelFromName
×
×
  • Create New...