GerardWay Posted January 7, 2013 Share Posted January 7, 2013 (edited) I am selling basic scripts for a reasonable price! I might do more advanced scripts soon but for now I am only selling Basic because I make advanced scripts for my own server:) Example of some scripts I can do that are basic: Blip Scripts Spawnpoint Script Chatbox Messages (For example, with the command "output" I could make a script that would output this text to the chatbox: "Welcome to this server!" or any other message.) Vehicles Locked Vehicles to certain groups (Thanks to Castillo / SolidSnake14 Mod scripts (Scripts that will allow mods to be added for the whole server!) Suicide Script Event Cancelling (Example: I can stop explosives from exploding by cancelling the event with a script) Login Script (With your server logo) Ban script (A script that can ban a player with any chosen command) Kick Script (A script that can Kick a player with any chosen command) Headless Script (Remove the players head but they wont die) Ped Script (I can create a Ped at any location and can also give it an animation) Money Script (Lets admins give All Players in the game a certain amount of money with 1 command) Payday Script (Gives the player a certain amount of money after a chosen amount of time) Music/Sound Scripts (I can create a script that makes music or a sound play at any place in San Andreas from an MP3 file) And a lot more! If you want me to create another basic script, then just contact me and ask and I may do it for you! If you are interested in any of these scripts or maybe a different script, contact me on Skype: teambarrelgaming or facebook: http://www.facebook.com/newcastlepolice Thank you. P.S: I would be happy to show you the script working on my test server if you want to! Edited January 7, 2013 by Guest Link to comment
Lloyd Logan Posted January 21, 2013 Share Posted January 21, 2013 These scripts are good for the beginner, but not for money. I have seen most of these scripts as an example in the WIKI, , suppose it's up to the others! Link to comment
Ab-47 Posted January 22, 2013 Share Posted January 22, 2013 These scripts are good for the beginner, but not for money. I have seen most of these scripts as an example in the WIKI, , suppose it's up to the others! You're right, example: Ban/Kick a player with a command, already exists within the FR GUI script Give all players money; function playerReward() local allPlayers = getElementsByType("player") for index,value in ipairs(allPlayers) do givePlayerMoney ( value, amount) end end addCommandHandler ( "reward", playerReward ) Blip Scripts; Blip = createBlip .... Blip2 = createBlip.. And the distance: setBlipVisibleDistance ( blip, dis ) setBlipVisibleDistance ( blip2, dis ) Music/Sound script; Client- addEventHandler( 'onClientResourceStart', resourceRoot, function( ) local sound = playSound3D( 'http://www.181.fm/winamp.pls?station=181-power&style=mp3&description=Power%20181%20(Top%2040)&file=181-power.pls', 485.87612915039, -11.931990623474, 1000.679687 ) setSoundMaxDistance(sound, 600 ) setElementInterior ( sound, 17 ) end ) function event () outputChatBox ( "An event has been created! Use /eventwarp to be warped to the event!", root, 0, 255, 0 ) end addCommandHandler ( "command", event ) Server- function warp (player) setElementPosition ( player, 485.87612915039, -11.931990623474, 1000.679687 ) setElementInterior ( player, 17 ) end addCommandHandler ( "eventwarp", warp ) Payday Script- function payday() local allPlayers = getElementsByType("player") for index,value in ipairs(allPlayers) do givePlayerMoney ( value, 10 ) outputChatBox (" Pay-check ", value, 255, 255, 255, false) outputChatBox ("You got 10$ for your personal earnings!", value, 255, 0, 0, false) end end function onResourceStart(thisResource) setTimer ( payday, 50000, 0 ) end addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), onResourceStart ) Ped Script- createPed setElementInterior setElementDimension Link to comment
CapY Posted January 22, 2013 Share Posted January 22, 2013 Zombie - you twat, stop making multiple topics containing the same absolute shit. Link to comment
GerardWay Posted January 22, 2013 Author Share Posted January 22, 2013 Not multiple topics, the other topic is the website link with this on. Link to comment
Smart. Posted January 22, 2013 Share Posted January 22, 2013 These scripts are good for the beginner, but not for money. I have seen most of these scripts as an example in the WIKI, , suppose it's up to the others! You're right, example: Ban/Kick a player with a command, already exists within the FR GUI script Music/Sound script; Client- addEventHandler( 'onClientResourceStart', resourceRoot, function( ) local sound = playSound3D( 'http://www.181.fm/winamp.pls?station=181-power&style=mp3&description=Power%20181%20(Top%2040)&file=181-power.pls', 485.87612915039, -11.931990623474, 1000.679687 ) setSoundMaxDistance(sound, 600 ) setElementInterior ( sound, 17 ) end ) function event () outputChatBox ( "An event has been created! Use /eventwarp to be warped to the event!", root, 0, 255, 0 ) end addCommandHandler ( "command", event ) Server- function warp (player) setElementPosition ( player, 485.87612915039, -11.931990623474, 1000.679687 ) setElementInterior ( player, 17 ) end addCommandHandler ( "eventwarp", warp ) "An event has been created! Use /eventwarp to be warped to the event!" will only output for the local player. (there is no plr argument clientsided) Link to comment
Ab-47 Posted January 22, 2013 Share Posted January 22, 2013 "An event has been created! Use /eventwarp to be warped to the event!" will only output for the local player. (there is no plr argument clientsided) Doesn't matter, they aren't linked, the message will be outputed to everyone, works fine. Btw it was made in like 5 mins some rough work. Link to comment
Smart. Posted January 22, 2013 Share Posted January 22, 2013 "An event has been created! Use /eventwarp to be warped to the event!" will only output for the local player. (there is no plr argument clientsided) Doesn't matter, they aren't linked, the message will be outputed to everyone, works fine. Btw it was made in like 5 mins some rough work. No, the message will not be outpputed to everyone. It will only output to the command executor. Link to comment
Ab-47 Posted January 22, 2013 Share Posted January 22, 2013 No, the message will not be outpputed to everyone. It will only output to the command executor. Ahh.. I thought if you added 'root' instead of another argument, it'd be outputed to everyone. Anyway, thanks for notifying me. Link to comment
Baseplate Posted January 22, 2013 Share Posted January 22, 2013 It does, you used outputChatBox client-sided. Link to comment
CapY Posted January 22, 2013 Share Posted January 22, 2013 Not multiple topics, the other topic is the website link with this on. Don't you try to be smart over here, you just reversed the topics but yet they have the same purpose. Link to comment
Jesseunit Posted January 22, 2013 Share Posted January 22, 2013 Not multiple topics, the other topic is the website link with this on. Don't you try to be smart over here, you just reversed the topics but yet they have the same purpose. Yiss Link to comment
Jesseunit Posted January 22, 2013 Share Posted January 22, 2013 These scripts are good for the beginner, but not for money. I have seen most of these scripts as an example in the WIKI, , suppose it's up to the others! You're right, example: Ban/Kick a player with a command, already exists within the FR GUI script Give all players money; function playerReward() local allPlayers = getElementsByType("player") for index,value in ipairs(allPlayers) do givePlayerMoney ( value, amount) end end addCommandHandler ( "reward", playerReward ) Blip Scripts; Blip = createBlip .... Blip2 = createBlip.. And the distance: setBlipVisibleDistance ( blip, dis ) setBlipVisibleDistance ( blip2, dis ) Music/Sound script; Client- addEventHandler( 'onClientResourceStart', resourceRoot, function( ) local sound = playSound3D( 'http://www.181.fm/winamp.pls?station=181-power&style=mp3&description=Power%20181%20(Top%2040)&file=181-power.pls', 485.87612915039, -11.931990623474, 1000.679687 ) setSoundMaxDistance(sound, 600 ) setElementInterior ( sound, 17 ) end ) function event () outputChatBox ( "An event has been created! Use /eventwarp to be warped to the event!", root, 0, 255, 0 ) end addCommandHandler ( "command", event ) Server- function warp (player) setElementPosition ( player, 485.87612915039, -11.931990623474, 1000.679687 ) setElementInterior ( player, 17 ) end addCommandHandler ( "eventwarp", warp ) Payday Script- function payday() local allPlayers = getElementsByType("player") for index,value in ipairs(allPlayers) do givePlayerMoney ( value, 10 ) outputChatBox (" Pay-check ", value, 255, 255, 255, false) outputChatBox ("You got 10$ for your personal earnings!", value, 255, 0, 0, false) end end function onResourceStart(thisResource) setTimer ( payday, 50000, 0 ) end addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), onResourceStart ) Ped Script- createPed setElementInterior setElementDimension I like how you tried to impersonate CapY and Me... Yet you fail to script a proper function. And instead of using getResourceRootElement(getThisResource()) You could have also used resourceRoot Link to comment
Anderl Posted January 22, 2013 Share Posted January 22, 2013 No, the message will not be outpputed to everyone. It will only output to the command executor. Ahh.. I thought if you added 'root' instead of another argument, it'd be outputed to everyone. Anyway, thanks for notifying me. You can't simply pass arguments that aren't there, there is no parameter to pass elements which the message will be sent to in the client function. Link to comment
GerardWay Posted January 22, 2013 Author Share Posted January 22, 2013 They are totally different, one is regarding a website. The other is regarding scripts. Link to comment
CapY Posted January 22, 2013 Share Posted January 22, 2013 They are totally different, one is regarding a website. The other is regarding scripts. Look: SITE=SCRIPTS & SCRIPTS=SITE. Same - fucking - thing. Link to comment
Ab-47 Posted January 23, 2013 Share Posted January 23, 2013 I like how you tried to impersonate CapY and Me... Yet you fail to script a proper function. And instead of using getResourceRootElement(getThisResource()) You could have also used resourceRoot Duuuuuuude! Sorry for the bad language but what the FUCK are you on about? Impersonation in which way, when and where? I don't know who the hell you are to start of with, and no it's not a fail function if it completely works. I can say I stole the outputChatBox message idea from another server, but does not make me an imposter or a failure in making a function. As I said earlier, rough work I'm not gonna dedicate my time to prove someone wrong when it's blantanly written infront of someone's face. Good Day Link to comment
Baseplate Posted January 23, 2013 Share Posted January 23, 2013 resourceRoot is a pre-defined variable for getResourceRootElement(getThisResource())) And jesse, please be kind and a respectful guy. Link to comment
Castillo Posted January 24, 2013 Share Posted January 24, 2013 This topic has gone literally to hell. Topic locked. Link to comment
Recommended Posts