Jump to content

iMr.3a[Z]eF

Members
  • Posts

    862
  • Joined

  • Last visited

Everything posted by iMr.3a[Z]eF

  1. addEventHandler('onClientGUIClick',root, function ( ) for i,v in ipairs ( aButtons ) do if source == v then if getElementData ( source,'AntiButtonFlood' ) == true then return outputChatBox('Wait 1 Minute!!') end setElementData ( source,'AntiButtonFlood',true ) setTimer ( setElementData,60000,1,source,'AntiButtonFlood',false ) end end end ) you wrote like this up^^
  2. Pres[T]ege: you forgeted other end lol
  3. addEvent( "onVehicleStartEnter", true ) addEventHandler( "onVehicleStartEnter", getRootElement(), function( player ) if(source==C)then if (getPlayerTeam(player)~="yourteam")then cancelEvent() r,b,g = math.random(0, 255), math.random(0, 255), math.random(0, 255) outputChatBox( "* Only For Team !", player,r,b,g, true ) else r,b,g = math.random(0, 255), math.random(0, 255), math.random(0, 255) outputChatBox( "* Welcome Team", player, r,b,g, true ) end end end ) * C = the vehicle what you created and what you want it as Team's vehicle
  4. oh you mean you don't want anyone else team enter the vehicle?
  5. simple but i need the full code
  6. remove the text under the image and create one from GUIEditor the problem is from the position
  7. i didnt asked your help, if you are done here dont reply then
  8. well i think you have to remove it by code or i'm sure there is resource for Blips in A-Panel
  9. i already added a PAGE but i want to add a CODE https://wiki.multitheftauto.com/wiki/Useful_Functions
  10. hahahahahaha you didnt understand what i just say look at this link then you'll understand https://wiki.multitheftauto.com/wiki/Useful_Functions
  11. i already made i page but i want to create a new code ex: guiSetRandomColor
  12. hello people, i saw some new functions they are all from useful function so,,, i think its my turn lol, how can i become like who creating some functions?
  13. iMr.3a[Z]eF

    help

    did we gived the code for you before?
  14. did you search of "blip" in Admin Panel?
  15. iMr.3a[Z]eF

    help again

    any time dude is your script works?!
  16. iMr.3a[Z]eF

    help again

    the scripter have a way to scripting, but he do it correctly and properly and Coordinator
  17. iMr.3a[Z]eF

    help again

    addEvent('ClientSyncSound',true) addEventHandler('ClientSyncSund',root, function ( ) guiSetEnabled ( GUIEditor.staticimage[2],false ) outputChatBox ( "* Wait 60 seconds", localPlayer, 255, 0, 0, true ) setTimer ( guiSetEnabled,60000,1,GUIEditor.staticimage[2],true ) if isElement ( sound ) then destroyElement ( sound ) sound = nil end sound = playSound ( "1.mp3", false ) end )
  18. iMr.3a[Z]eF

    help again

    i hate this way can i use getTickCount ? its very simple setTimer ( function Enable() guiSetEnabled( element, false ) end, 60000, 1 ) addEventHandler ( "onClientGUIClick", element, Enable) element: the picture what you want to disable for 60 seconds sorry i've mistaked
  19. iMr.3a[Z]eF

    help again

    setTimer guiSetEnabled
  20. iMr.3a[Z]eF

    help again

    lol you ment who?
  21. iMr.3a[Z]eF

    help again

    looped: A boolean representing whether the sound will be looped. To loop the sound, use true. Loop is not available for streaming sounds, only for sound files.
  22. iMr.3a[Z]eF

    help again

    write the meta then
  23. iMr.3a[Z]eF

    help again

    element playSound ( string soundPath, [ bool looped = false ] ) Read the wiki . @ Paplo: debugscript 3 oh lol all time fasle @Paplo: what is the debug in Console? write debugscript 3 in F8 "Console"
×
×
  • Create New...