Jump to content

Wei

Members
  • Posts

    814
  • Joined

  • Last visited

Everything posted by Wei

  1. Yeah old vG scripts su*ks
  2. Wei

    guiSetInputEnabled

    You could understant it... function showSupport () guiSetVisible( supportWindow, not guiGetVisible( supportWindow ) ) showCursor( guiGetVisible( supportWindow ) ) guiSetInputEnabled( guiGetVisible( supportWindow) ) end bindKey("f3", "down", showSupport )
  3. Why when I open the window it makes guiSetInputEnabled but the bind to close it doesn't work..
  4. Wei

    killPed help!

    sorry I don't understand you
  5. Wei

    killPed help!

    function PedWasted(player) --The player definition goes here i think setElementHealth ( source, 0 ) outputChatBox( "Just in the middle", player, 255, 0, 0 ) end addEventHandler("onClientPedWasted", getRootElement(), PedWasted)
  6. Wei

    killPed help!

    function PedDamage(player) -- Look this line ! outputChatBox("Just in the middle", player, 255, 0, 0) end addEventHandler("onClientPedDamage", getRootElement(), PedDamage)
  7. Wei

    killPed help!

    killer and player are not defined
  8. Wei

    killPed help!

    onClientPedDamage ? or onClientPedWasted ?
  9. function createCarrou (hitPlayer) if getElementModel( hitPlayer ) == 28 then x, y, z = unpackCarjacker() vehicle = createVehicle ( 541,x, y, z ) carBlip = createBlipAttachedTo ( vehicle, 53 ) addEventHandler ( "onVehicleEnter", vehicle, carHit ) end end addCommandHandler("jacker", createCarrou) how can I make the blip visible only to the player ?
  10. I have: function RefreshTab() guiGridListClear (GUIEditor_Grid[1]) for index, cPlayer in pairs(getElementsByType( "player" )) do row = guiGridListAddRow (GUIEditor_Grid[1]) guiGridListSetItemText ( GUIEditor_Grid[1], row, player_TAB, getPlayerName(cPlayer), false, false ) guiGridListSetItemText ( GUIEditor_Grid[1], row, money_TAB, getPlayerMoney( cPlayer ), false, false ) end end
  11. guiCreateColorLabel(0.1494,0.383,0.4689,0.0638,"#FFFFFFTime in #FF0000London",true,uhrzeit3 ) Try
  12. for index, cPlayer in pairs(getElementsByType( "player" )) do Yeah it is containing playerss
  13. money_TAB = guiGridListAddColumn( GUIEditor_Grid[1], "Money", 0.10 ) guiGridListSetItemText ( GUIEditor_Grid[1], row, money_TAB, getPlayerMoney( cPlayer ), false, false ) cPlayer are all players
  14. How can I get irc ? Do I need to buy it or what. Can I host it at home ? ... Thanks.
  15. Wei

    Xampp

    How will access the localhost then ?
  16. Wei

    Xampp

    Close all programs wich need to use ports.
  17. Wei

    Xampp

    You need to have apache and Mysql turned on !!
  18. I'm not realy sure what you want. To get the zone name use getZoneName
  19. Wei

    Medic problem

    Ok. I have 1 question more why is the blip visible to all ? function createRoute () x, y, z = unpackTrucker () truckerMarker = createMarker ( x, y, z, "cylinder", 1.5, 255, 0, 0, 85 ) truckerBlip = createBlipAttachedTo( truckerMarker, 32 ) addEventHandler ( "onClientMarkerHit", truckerMarker, funct ) end addEventHandler ( "onClientMarkerHit", trucker, createRoute )
×
×
  • Create New...