Jump to content

Nameless

Members
  • Content Count

    13
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Nameless

  • Rank
    Square
  1. This doesnt check if someone pushed another player in the water right? Because that is what I need, I need to see who killed the other player --> pushed him in the water (who last touched him)
  2. Does somebody know if there is a killscript for Destruction Derby which I can download? I couldn't find it here: '>http://community.multitheftauto.com/index.php?p=resources Else if there are no downloads for a DD killscript could somebody tell me what's the best way of checking if a player has been killed by another player? And maybe give an example code? Thanks!
  3. Thank you very much Anderl!
  4. Hello, Can anybody tell me how to save the time played for a player? I need to start the time count when somebody logs in and stop the time count when he logs out or quits. (in a sqlite database) I hope you guys can help me! //Nameless
  5. Hi all, I fixed the problem: I deleted the returnAllStats function and put the triggerClientEvent(source, "showStats", getRootElement(), money, points, matches, first, second, third, kills) on the triggerEvent("returnallstats", getRootElement() , money, points, matches, firstplace, secondplace, thirdplace, kills ) his place. Now the 'source' is the player who opened the window or clicked the gridlist. Thanks for helping me! Cheers, Nameless
  6. Thanks for replying guys, but I really have no idea how to solve my problem..
  7. Ty for replying AeroXbird, but I didnt forgot the argument.
  8. Hi Guys, Nameless here again This time I got a problem with guiSetText. I am trying to create a userpanel with point, money, etc (with sqlite). All players who are online, will be set in a gridview. When a player opens the userpanel (F2) he will see his own stats. When the player clicks on another player in the gridview, the stats of the player he clicked on will show. My problem now is: When PlayerA presses F2, and PlayerB has his userpanel open. PlayerB will get to see PlayerA his stats. Also when PlayerA clicks on another player in the gridview PlayerB will see the stats of the play
  9. Thank you all for helping me with my problem! The client script wasn't working because there was a -- missing for a comment
  10. The script only executes server scripts.. but not the client ones
  11. Thanks for your reply, but I dont want to show the window to everybody! I want it to show to the admin who pressed F10
  12. ChangetriggerClientEvent("showMsgWdw", getRootElement()) to triggerClientEvent(player,"showMsgWdw", getRootElement()) What do you mean? Thank you for your reply! I changed the triggerClientEvent, but the window doesnt show up anymore.. For some reason the showMessageWindow function is not executed.
  13. Hi, I have a problem with showing my GUI window; -- How do I give the status (true or false) to set the window visible? -- If I press "F10" (as an admin the window gets visible for everybody Is there a way I can fix this? If you dont understand my problem, please ask! Here is my code: --Server script, checking if logged in player is admin local root = getRootElement() addEventHandler("onPlayerLogin", root, function() if ( hasObjectPermissionTo ( source, "function.aclSetRight", false ) ) then bindKey(source, "F10", "down", function(player, key, state)
×
×
  • Create New...