Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --------------------------------VOTES-------------------------------------------
- function ulx.vote1( calling_ply )
- calling_ply:SendLua( "RunConsoleCommand( 'ulx_vote', '1' )" )
- end
- local vote1 = ulx.command( "Voting Options", "ulx vote1", ulx.vote1, "!1" )
- vote1:defaultAccess( ULib.ACCESS_ALL )
- vote1:help( "Vote option 1" )
- function ulx.vote2( calling_ply )
- calling_ply:SendLua( "RunConsoleCommand( 'ulx_vote', '2' )" )
- end
- local vote2 = ulx.command( "Voting Options", "ulx vote2", ulx.vote2, "!2" )
- vote2:defaultAccess( ULib.ACCESS_ALL )
- vote2:help( "Vote option 2" )
- function ulx.vote3( calling_ply )
- calling_ply:SendLua( "RunConsoleCommand( 'ulx_vote', '3' )" )
- end
- local vote3 = ulx.command( "Voting Options", "ulx vote3", ulx.vote3, "!3" )
- vote3:defaultAccess( ULib.ACCESS_ALL )
- vote3:help( "Vote option 3" )
- function ulx.vote4( calling_ply )
- calling_ply:SendLua( "RunConsoleCommand( 'ulx_vote', '4' )" )
- end
- local vote4 = ulx.command( "Voting Options", "ulx vote4", ulx.vote4, "!4" )
- vote4:defaultAccess( ULib.ACCESS_ALL )
- vote4:help( "Vote option 4" )
- function ulx.vote5( calling_ply )
- calling_ply:SendLua( "RunConsoleCommand( 'ulx_vote', '5' )" )
- end
- local vote5 = ulx.command( "Voting Options", "ulx vote5", ulx.vote5, "!5" )
- vote5:defaultAccess( ULib.ACCESS_ALL )
- vote5:help( "Vote option 5" )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement