Jump to content

alexxnder

Members
  • Posts

    11
  • Joined

  • Last visited

Posts posted by alexxnder

  1. 6 minutes ago, Tekken said:

    You’re welcome. ;) 

    You can also do

    tablePlayers[player]["skin"] = skinid

     

    for a better way of storing data than get/setElementData

    Got it :D  (Mersi) :D 

    In caz de o sa mai am nevoie de ajutor o sa te mai contactez daca nu te deranjeaza :) chiar sunt surprins de cate chestii poti face pe acest client

  2. 6 minutes ago, Tekken said:

    What do you mean by player variable ?

    like this:

    local data = dbPoll("your data to be returned using normal MySQL");

    for i,v in ipairs(data) do

        player_variable = v["var_name_in_db"]

    end

    or

    for i,v in ipairs(data) do   

          skin = v["var_name_in_db"]

    end

    I don't know if you understand what i want to say, i don't have a good english.

  3. 24 minutes ago, Patrick said:

    root is not the player's element.

    You have to use source instead of root, but for this you need to modify triggerServerEvent and set client's element (localPlayer) as event's source instead of getRootElement().

    
    triggerServerEvent("checkPlayerAccount", localPlayer, username, password)
    

     

    ok thank you, i will watch again at element tree on wiki page. :D  (sorry for my eng)

  4. Hello, MTA SA Community, i am a really good PAWN DEVELOPER and recently i found this client, i love it because there are not so more limits like in SA-MP, but i have a question, should i learn LUA or is more useful to learn PAWN  because is a C-like language or doesn't matter ? :D

  5. Salut MTA SA Romania, sunt un PAWN Developer si am descoperit destul de recent MTA-ul si sunt foarte surprins de cate chestii se pot face pe acest client, doar ca, am o mica intrebare, merita sa ma apuc sa invat LUA si sa termin cu SAMP-ul odata pentru totdeauna? LUA ma poate incurca cand o sa invat C++ la liceu? (is clasa a 8 a xD)

    Va multumesc anticipat pentru pareri. :D 

×
×
  • Create New...