Jump to content

THASMOG

Members
  • Posts

    22
  • Joined

  • Last visited

Details

  • Gang
    Wtf Is this ?

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

THASMOG's Achievements

Civilian

Civilian (7/54)

0

Reputation

  1. Hi, how to check if player is connected to servre before performing some function. PLayers use lagg switch in my server. Is there any way to send check from client side to server and see if he is actually connected. If no then function returns. I hope u understand.
  2. Can i buy u a beer ? It won't work but u helped me to learn something. I try to fix something now myself EDIT: IT WORKS !! I WANNA BUY U TWO BEERS !
  3. Still nothing, I tryed to remove if weapon and weapon stuff still wont work.
  4. Thanks very much, i test it. I didn't know that there is difference with getLocalPlayer or getLocalPlayer()
  5. Thanks it works kinda. But it's not perfect. Now both players get text."Your car received damage! Do not log out in 10 seconds or you will die!" I'd like to only have ped in car. EDIT: Actually it's better that way. I just changed text to "You are in combat! Don't log out or you will die! if i change player's damage from source to local player does it work same way then ?. Sorry i can't test right now only 2 plaeyers in my server.
  6. Maybe DayZ plugin stops it to work ? But still nothing.
  7. Added into server side script. Still wont work. No errors either. i try to debug
  8. How i can remove all player weapons if they join ? addEventHandler("onClientResourceStart", getRootElement(), function() takeAllWeapons(player) setTimer( takeAllWeapons, 1000, 1, player) end) addEventHandler ( "onPlayerJoin", getRootElement(), relvadnahhuj ) function relvadnahhuj ( ) takeAllWeapons(getRootElement() ) end these wont work.
×
×
  • Create New...