Jump to content

golanu21

Members
  • Posts

    650
  • Joined

  • Last visited

Everything posted by golanu21

  1. SCRIPT ERROR: gymScript\server.lua:8: 'then' expected near '=' [2013-08-22 13:08:50] WARNING: Loading script failed: gymScript\server.lua:8: 'then' expected near '='
  2. a warn system, when player "who" has received a 3 warns .. ban the player Who..
  3. and how i make it to work ?
  4. server.lua:11: bad argument #1 to 'ipairs' (table expected, got userdata)
  5. golanu21

    warn system

    warns = 0 function command (sourcePlayer, command, who) name = getPlayerFromName(who) if name then local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) -- get his account name if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then for index, name in ipairs(name) do if warns == 0 then warns = 1 outputChatBox("Jucatorul"..name.."a primit warn din partea administratorilor 1/3") elseif warns == 1 then warns = 2 outputChatBox("Jucatorul"..name.."a primit warn din partea administratorilor 2/3") elseif warns == 2 then warns = 3 outputChatBox("Jucatorul"..name.."a primit warn din partea administratorilor 3/3") banPlayer(name) end end end else outputChatBox("Invalid Syntax:/warn Player", source, 255, 0, 0 ) end end addCommandHandler("warn", command) WARNING: gymScript\server.lua:3: Bad argument @ 'getPlayerFromName' [2013-08-22 12:31:25] WARNING: gymScript\server.lua:5: Bad argument @ 'getPlayerAccount' [Expected element at argument 1, got nil] [2013-08-22 12:31:25] WARNING: gymScript\server.lua:5: Bad argument @ 'getAccountName' [Expected account at argument 1, got boolean] [2013-08-22 12:31:25] ERROR: gymScript\server.lua:6: attempt to concatenate local 'accName' (a boolean value)
  6. my failed upload resources : https://community.multitheftauto.com/index.php?p= ... ls&id=7783 https://community.multitheftauto.com/index.php?p= ... ls&id=7776 DONE
  7. golanu21

    dx

    how i do a movable text?
  8. golanu21

    XML VS LUA

    https://forum.multitheftauto.com/viewtopic.php?f=148&t=38203 use this functions for database ' make a variabile in data base, and when player is muted to change the variabile to number 1 :,, and when is unmuted to set the variabile to number 0...and another function .. call the variabile in database , and if number is 1 then.. muteplayer,, elseif number is 0 unmute it...
  9. golanu21

    setStat

    i fixed it, thanx for answers
  10. golanu21

    help

    FIXED :DD:D:D:
  11. golanu21

    help

    i try and with getPedStat, but is not working..
  12. golanu21

    help

    stat = getPlayerStat(source, 23) setPedStat ( source, 23, stat +1) why is not working ?
  13. golanu21

    help

    cur = 1 if cur == 1 then setTimer(triggerServerEvent, 2000, 200000000000 ,"setstat", localPlayer) end bindKey("space", "down", stopanimation) function stopanimation () setElementFrozen(localPlayer, false) setPedAnimation (localPlayer, false) cur = 0 end when i press space, this frozen stop the ped animation stop but the timer is still working
  14. golanu21

    setStat

    how i make while a animation is working, to setPedStat ?
  15. YES I MAKE WITH TIMER, BUT WHEN TIMER IS FINISHED THEN TO DO SOMETHING ( AFTER THE ANIMATION STOP)
  16. You Forgot to add the "setTimer" in the list of functions
  17. daca vrei sa intri pe servere acelea tre sa fie server fara masini sau vehicule tunate... cred..
  18. Internetul dau descarca fisierele prea greu....
×
×
  • Create New...