Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. --------------------------------VOTES-------------------------------------------
  2. function ulx.vote1( calling_ply )
  3. calling_ply:SendLua( "RunConsoleCommand( 'ulx_vote', '1' )" )
  4. end
  5. local vote1 = ulx.command( "Voting Options", "ulx vote1", ulx.vote1, "!1" )
  6. vote1:defaultAccess( ULib.ACCESS_ALL )
  7. vote1:help( "Vote option 1" )
  8.  
  9. function ulx.vote2( calling_ply )
  10. calling_ply:SendLua( "RunConsoleCommand( 'ulx_vote', '2' )" )
  11. end
  12. local vote2 = ulx.command( "Voting Options", "ulx vote2", ulx.vote2, "!2" )
  13. vote2:defaultAccess( ULib.ACCESS_ALL )
  14. vote2:help( "Vote option 2" )
  15.  
  16. function ulx.vote3( calling_ply )
  17. calling_ply:SendLua( "RunConsoleCommand( 'ulx_vote', '3' )" )
  18. end
  19. local vote3 = ulx.command( "Voting Options", "ulx vote3", ulx.vote3, "!3" )
  20. vote3:defaultAccess( ULib.ACCESS_ALL )
  21. vote3:help( "Vote option 3" )
  22.  
  23. function ulx.vote4( calling_ply )
  24. calling_ply:SendLua( "RunConsoleCommand( 'ulx_vote', '4' )" )
  25. end
  26. local vote4 = ulx.command( "Voting Options", "ulx vote4", ulx.vote4, "!4" )
  27. vote4:defaultAccess( ULib.ACCESS_ALL )
  28. vote4:help( "Vote option 4" )
  29.  
  30. function ulx.vote5( calling_ply )
  31. calling_ply:SendLua( "RunConsoleCommand( 'ulx_vote', '5' )" )
  32. end
  33. local vote5 = ulx.command( "Voting Options", "ulx vote5", ulx.vote5, "!5" )
  34. vote5:defaultAccess( ULib.ACCESS_ALL )
  35. vote5:help( "Vote option 5" )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement