Jump to content

Rutex

Members
  • Posts

    13
  • Joined

  • Last visited

Details

  • Gang
    Rifa

Rutex's Achievements

Square

Square (6/54)

0

Reputation

  1. I heard player need to be registred, to prevent deleting data. its is true?
  2. when setElementData stores the data on the player and allows them to use after reconnect the player? I heard that this is possible. p.s. if someone didn't understand what I'm talking about - using set\getElementData instead set\getAccountData
  3. Yes. I know why its dupe. For me was intresing how i can " fix " it. I was think here is special event listener for this. Thank you:)
  4. Hi guys. I have small problem. I need to have event listener in function. Server: its send on client event, that activate the gui, and return the selected button in event The problem is, in every car enter, the event is dupe. for example. 1 st. enter - its print only 1 time "marsh1". In next enter car, its print 2 times "marsh1", in 3 enter 3, and etc.... How i can do this right? or fix? Without this dupe. P.s. Log. func.
  5. Hi again huys. I have an problem. I need to test the my res. to many players. How i can launch more game window? Thanks all
  6. Thanks guys. I found my error. In Pj func.
  7. Root doesnt going. its send to all player...
  8. Hi guys. I have small problem. I have code ( on server ) addEventHandler ("onPlayerJoin", XXX, Pj) With which element name, i can send this func only to joined player? Like on client GetLocalPlayer... ( On XXX ) Sourse = doesnt work, nil value.
  9. Strange. I from Wikipedia also I took these functions. Thanks a lot friends!
  10. hi all. I have an problem. Im new in this lua framework, and i have issues with triggers. i have no problems to send from client to server, but from server to client - its an a problem. I have on server side check code. this code will send on client trigger.like so. server: if (UserCreated == false) then // some code ... clientTriggerEvent("LoginType",resourceRoot, "register") elseif(UserCreated == true) then //some code ... clientTriggerEvent("LoginType",resourceRoot, "login") client: function guiA(Type) if (Type == "register") then //some code elseif (Type == "login") then //some code end addEvent("LoginType",true) addEventHandler( "LoginType", localPlayer, guiA) So now. The problem is - if connect player to the server, on side server - all fine. But client can not show gui. i think its wrong with triggers. also In log files - no errors or warnigs. Yes. I know. i can use ofc the register of MTA, but i want to understand my error and the mta mehanics, to the future scripting. p.s. sorry for my bad english
×
×
  • Create New...