Jump to content

Msypon

Members
  • Posts

    76
  • Joined

  • Last visited

Details

  • Gang
    None

Recent Profile Visitors

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

Msypon's Achievements

Transformer

Transformer (11/54)

0

Reputation

  1. Guys i would like to know when i should use these functions
  2. Msypon

    gui

    Is possible to rotate a gui?
  3. Msypon

    Break

    someone can give me an example using break¿
  4. No guys, you didnt understand me, im creating a treasure script and lets say that i set the time (setTimer) to 60000, then two objects will appear in LS or SF beach, but i dont know how to do it randomly
  5. hi guys i need your help with my table locations: locations = { { -- beach ls { 529, -1884, 3 }, { 612, -1884, 3 } }, { -- sf beach { -2920, 68, 1 }, { -2913, 159, 3 } } } so i want to create 2 objects randomly in these places, wat i have to do?
  6. -- client tick = 0 addEvent ( 'getBansList', true ) function panelTick ( bans ) if ( guiGetVisible ( GUIEditor.window[1] ) ) then if ( getTickCount() >= tick ) then local row = guiGridListAddRow ( GUIEditor.gridlist[1] ) if ( name and ip ) then guiGridListSetItemText ( GUIEditor.gridlist[1], row, name, bans.name, false, false ) guiGridListSetItemText ( GUIEditor.gridlist[1], row, ip, bans.name, false, false ) end tick = getTickCount() + 1000 end end end addEventHandler ( 'onClientRender', root, panelTick ) addEventHandler ( 'getBansList', root, panelTick ) --server function banList ( ) local bans = dbQuery ( banSQL, 'SELECT * FROM banTable' ) local result = dbPoll ( bans, -1 ) for _, bans in pairs ( result ) do triggerClientEvent ( 'getBansList', root, bans ) end end attempt to index local 'bans' (a nil value)
  7. Msypon

    Table

    ok ty, another question, can we cancel the event onClientPlayerWeaponFire?
  8. Msypon

    Table

    why "screen[2]" on line 7? addEventHandler('onClientRender', root, function() for bone = 1, 54 do local bonePos = {getPedBonePosition(localPlayer, bone)} if bonePos[1] then local screen = {getScreenFromWorldPosition(unpack(bonePos))} if screen[1] then dxDrawText(''..bone, screen[1], screen[2]) end end end end)
  9. Msypon

    Database

    Which functions do i need to create a database for accounts ?
  10. Msypon

    Question

    we can use cancelEvent in a custom event?
  11. How to make a custom progress bar with image?
  12. Msypon

    1s

    No men look this function ban( p, c, t, ti ) ti:gsub ( "1", "1s" ) banPlayer ( t, nil, nil, nil, p, "aw", tonumber ( t ) ) end addCommandHandler ( "timeb", ban ) instead 1 i want 1s
  13. Msypon

    1s

    im making a jail system but i want to do like that: /jail player 1s (second), how to do that 1s, which function do i need?
  14. Msypon

    Return break

    oh thx alot guys
×
×
  • Create New...