Jump to content

KraZ

Members
  • Posts

    61
  • Joined

  • Last visited

Everything posted by KraZ

  1. Hey guys im making a Objective Team Deathmatch server and i need some good scripters with some free time to help me script the server, in return you will get moderator and some extra commands like godmode etc, heres what my server is based upon. - 2 Teams (SWAT v Criminals) - Players log in and select their team as shown below: http://puu.sh/FmTy http://puu.sh/FmUT Players will play in Domination TDM activites like: - Bank Robbery 5 floors, with 5 markers, Criminals will have to defend the markers for points Swat will have to defend the markers for points Team with the most points at the end of the match (15mins long) win their points as exp each and also gain $2500 for winning. Each kill is 10 exp and $100, there is 50 lvls they must progress through, -Drug Lab 2 floors, with 2 markers, Criminals will have to defend the markers for points Swat will have to defend the markers for points, Team with the most points at the end of the match (15mins long) win their points as exp each and also gain $2500 for winning. Each kill is 10 exp and $100, there is 50 lvls they must progress through, And more.. With $$$ they can buy perks in-game like 'Invisibilty' which will last 20 seconds and give the player advantage... If you have any suggestions or if you want to help post below or pm me. Thanks! KraZ
  2. Hey guys im making a Objective Team Deathmatch server and i need some good scripters with some free time to help me script the server, in return you will get moderator and some extra commands like godmode etc, heres what my server is based upon. - 2 Teams (SWAT v Criminals) - Players log in and select their team as shown below: http://puu.sh/FmTy http://puu.sh/FmUT Players will play in Domination TDM activites like: - Bank Robbery 5 floors, with 5 markers, Criminals will have to defend the markers for points Swat will have to defend the markers for points Team with the most points at the end of the match (15mins long) win their points as exp each and also gain $2500 for winning. Each kill is 10 exp and $100, there is 50 lvls they must progress through, -Drug Lab 2 floors, with 2 markers, Criminals will have to defend the markers for points Swat will have to defend the markers for points, Team with the most points at the end of the match (15mins long) win their points as exp each and also gain $2500 for winning. Each kill is 10 exp and $100, there is 50 lvls they must progress through, And more.. With $$$ they can buy perks in-game like 'Invisibilty' which will last 20 seconds and give the player advantage... If you have any suggestions or if you want to help post below or pm me. Thanks!
  3. Hey guys im making a Objective Team Deathmatch server and i need some good scripters with some free time to help me script the server, in return you will get moderator and some extra commands like godmode etc, heres what my server is based upon. - 2 Teams (SWAT v Criminals) - Players log in and select their team as shown below: http://puu.sh/FmTy http://puu.sh/FmUT Players will play in Domination TDM activites like: - Bank Robbery 5 floors, with 5 markers, Criminals will have to defend the markers for points Swat will have to defend the markers for points Team with the most points at the end of the match (15mins long) win their points as exp each and also gain $2500 for winning. Each kill is 10 exp and $100, there is 50 lvls they must progress through, -Drug Lab 2 floors, with 2 markers, Criminals will have to defend the markers for points Swat will have to defend the markers for points, Team with the most points at the end of the match (15mins long) win their points as exp each and also gain $2500 for winning. Each kill is 10 exp and $100, there is 50 lvls they must progress through, And more.. With $$$ they can buy perks in-game like 'Invisibilty' which will last 20 seconds and give the player advantage... If you have any suggestions or if you want to help post below or pm me. Thanks!
  4. Why couldnt scripting be like this! I mean imagine it! When a player dies, give the attacker 3 exp points; When a player gets 100 exp points then level him up 1 level; When a player dies, give the attacker 100 money; When a player joins, give them a random team between( "blue" , "red" ); When a player dies, show the attacker for 5 seconds; When a player dies. display on screen in small text on the right hand side the attacker name and weapon he used;
  5. Hey ive made a few scripts a while back and havent been on here in a while but since i never made a script using SQL somehow I was wondering if someone could just post below some basic information to get me started like for example: blablabla( "players" ) --This creates a players database and will data inside it. blablabla( "username", "password" ) --This stores a players username and password in the DB etc, etc, stuff like that, I would much appreciate it if you could add me on skype so it would be easier for me to ask for help now and then, Skype: TheSevenGraphics Thanks! ~KraZ / KieronWiltshire
  6. KraZ

    Economy V1.0

    Like, Instead of using the money up on the HUD, I would somehow disable that or something and make The money down by the radar or something and this resource would include banks and stuff and will also add availablity to enable/disable intrest.
  7. KraZ

    Economy V1.0

    I Was wondering if people would like a better Economy System?
  8. KraZ

    CnR Gamemode.

    You have no clue of what this does? This isnt RP otherwise it would be called RP, Its CnR, My idea is that cops v criminals and theres activites like bank robbery and other activites releated between cops and robbers. You'r an idiot
  9. KraZ

    CnR Gamemode.

    onny look above in 'Features' Drugs are clearly there.
  10. KraZ

    CnR Gamemode.

    That might be added, Thats more of a roleplay gamemode, im trying to make just a CnR Gamemode...
  11. KraZ

    CnR Gamemode.

    EDIT: I WILL NO LONGER BE WORKING ON THIS SCRIPT... IF SOMEONE WOULD LIKE TO USE THIS IDEA, ITS HERE IF YOU NEED IT! SORRY BUT I DON'T PLAY MUCH MTA:SA AS I USED TO SO I WON'T BE MAKING THIS. Im creating a resource which is a cops and robbers gamemode. Which has alot of features, MY INSPIRATION IS THE MASSIVE MTA:SA SERVER CALLED CIT! CIT website: http://cit2.net/ _______________________________________________________ Features to be made: - Cops v Robber Activites - Bank Robbery (Max criminals: 40. Robbers must rob the bank successfully or get jailed for a certain ammount of time) - Street Races (Max crimianls: 10. When the criminals race the police must kill the criminals, if all criminals die, cops win Money, 1st, 2nd, 3rd place criminals will get money for winning the race) - Drug Smuggling (Criminals must unload the ship full of drugs to complete the activity. If the criminals win, They will . Recive drugs, Drugs will help in other activites) - Base Wars (There will be a criminals base where the police can invade, if police win they get money, if criminals win . . they get money) - Ability to gain exp (Cops will be able to recive exp each kill and level up to FBI, SWAT, ARMY etc, Criminals will be able to . . level up each kill from 'amatuer' to 'Boss') - Ability to gain money (Money will allow players to buy better guns or even buy drugs or change skin) - Car shops (This costs money but will help players get to activities quicker) - Weapon shops (Better weapons will ensure the cops/robbers a better fighting chance in the activites. - Clothes shops (Able to change skins) - Login System (Simple Login System) - Admin Team - Criminal Team - Cop Team - Civilian Jobs (This might be added) (If i can think or if you want to suggest more, I will add them here) _______________________________________________________ If you would like to take part in this resource, PM me with you'r best resource you have made and i will get back to you. Thank you ~Kieron Wiltshire This is currently being developed by Nephiix Scripting Team! Nephiix Team: KieronWiltshire Evil-Cod3r
  12. KraZ

    Clean login panel.

    I don't understand you'r problem, be more specific on what you want to fix.
  13. KraZ

    Idea!

    Im thinking of a great idea kinda like the roleplay gamemode that someone here is working on, but i have a gamemode that i think will be alot of fun for the players... Im going to need a team of scripters to help me script as i can't do it all otherwise it will take to long to make... The idea is to create a gamemode called FUN, this gamemode is a roleplay gamemode but not taking roleplay to extreme, its basically you spawn with $3,500 and a M9 with 500 ammo. You can then take part in Activites around the map like RACES and BANK ROBBERY but my idea is thats its a CnR (cops and robbers) gamemode. When i say race i mean criminals have to race... and as soon as the race starts they get wanted... a police officer can then hit their car off the road to stop the race and when the car is fully damaged it will stop. When i say bank robbery it could be so that criminals have to rob the bank before time limit ends, could be that they have to collect markers around the bank, if criminals collect them they go red, if cop gets them they go blue and if the cops win they get money for it... if crimials win they get money for it... (You get money per kill also) and this bank rob idea is off the CIT Server that i used to play on. There could be then the more money they get they can buy cars to roam the map quicker or buy weapons to play better in activites. I was thinking of calling it COPSvROBBERS and im good in photoshop so i could make a nice looking logo easy... Let me know if you'r intrested through the MTA:SA Forums PM box. Thank you. ~KraZ
  14. KraZ

    Clean login panel.

    Go to MTA:SA > Settings > Apperance > Change skin to - lighter black. Done! Something like that
  15. Whats to know? Its clean. Classy. Simple to use. Easy to edit info and what not. And allows mulitple spawns. Get it here! https://community.multitheftauto.com/index.php?p= ... ls&id=3718 Thank you. ~KraZ/ -
  16. Why doesn't this work i get something to do with a error on the line 48 saying '(' expected to close to ')' function ViewGUI () --This is the line i get error on. if ( guiGetVisible ( window ) == true ) then showCursor(false) guiSetVisible(window,false) elseif ( guiGetVisible ( window ) == false ) then showCursor(true) guiSetVisible(window,true) end end function binds () bindKey ( "F1", "down", ViewGUI ) end addCommandHandler ( "bindme", binds ) end
  17. KraZ

    HELP ME PLEASE!

    its always stuff like "(" expected (to close ")" Line 69) shit like tha <--- not exactly that.
  18. KraZ

    [REL] Login System

    it is in my ACL under Admin?
  19. KraZ

    [REL] Login System

    on this login sys. it doesnt let users change skin when they register and also it doesnt allow guests to register. help???
  20. KraZ

    HELP ME PLEASE!

    can someone tell me what i have did wrong here and how i can fix it? (If you decide to fix it your self can you tell me what was wrong?) some things here was used from Xeno's login sys. thanks xeno. Client side: addEventHandler("onClientResourceStart",resourceRoot, function() login_window = guiCreateWindow(237,96,334,338,"KraZ'World Some RP: Login Screen",false) guiSetVisible(login_window, true) showCursor(true) guiSetInputEnabled (true) guiWindowSetMovable(login_window,false) guiWindowSetSizable(login_window,false) krazworld_image = guiCreateStaticImage(17,16,296,124,"images/KraZWorld.png",false,login_window) login_button = guiCreateButton(37,267,124,53,"Login",false,login_window) guiSetFont(login_button,"clear-normal") username_label = guiCreateLabel(16,171,101,20,"Username:",false,login_window) guiLabelSetColor(username_label,255,255,255) guiLabelSetVerticalAlign(username_label,"top") guiLabelSetHorizontalAlign(username_label,"left",false) password_label = guiCreateLabel(17,220,76,24,"Password:",false,login_window) guiLabelSetColor(password_label,255,255,255) guiLabelSetVerticalAlign(password_label,"top") guiLabelSetHorizontalAlign(password_label,"left",false) username_edit = guiCreateEdit(78,170,244,23,"",false,login_window) password_Edit = guiCreateEdit(78,217,244,23,"",false,login_window) register_button = guiCreateButton(173,267,124,53,"Register",false,login_window) guiSetFont(register_button,"clear-normal") register_window = guiCreateWindow(216,145,374,251,"Registration",false) guiWindowSetMovable(register_window,false) guiWindowSetSizable(register_window,false) dusername_label = guiCreateLabel(12,45,105,18,"Desired Username:",false,register_window) guiLabelSetColor(dusername_label,255,255,255) guiLabelSetVerticalAlign(dusername_label,"top") guiLabelSetHorizontalAlign(dusername_label,"left",false) dusername_edit = guiCreateEdit(119,44,244,23,"",false,register_window) dpassword_label = guiCreateLabel(11,104,113,18,"Desired Password:",false,register_window) guiLabelSetColor(dpassword_label,255,255,255) guiLabelSetVerticalAlign(dpassword_label,"top") guiLabelSetHorizontalAlign(dpassword_label,"left",false) dpassword_edit = guiCreateEdit(121,101,243,23,"",false,register_window) regististration_button = guiCreateButton(41,172,131,60,"Register!",false,register_window) cancel_button = guiCreateButton(199,171,131,60,"Cancel!",false,register_window) guiSkinShop = guiCreateWindow(0.37*sx,0.80*sy,0.3*sx,0.15*sy,"Choose a skin!",false) done = guiCreateButton(0.25,0.60,0.50,0.30,"Done",true,guiSkinShop) left = guiCreateButton(0.07,0.60,0.15,0.30,"<-",true,guiSkinShop) right = guiCreateButton(0.78,0.60,0.15,0.30,"->",true,guiSkinShop) guiWindowSetSizable(guiSkinShop,false) guiSetVisible(guiSkinShop, false) skinLabel = guiCreateLabel(0.05,0.30,0.90,0.17,"Skins can be bought once ingame",true,guiSkinShop) guiSetAlpha(skinLabel,1) guiLabelSetColor(skinLabel,255,255,255) guiCreateStaticImage( 0.0001, 0.49, 0.99, 0.02, "red.png", true, guiSkinShop ) guiCreateStaticImage( 0.0001, 0.25, 0.99, 0.02, "red.png", true, guiSkinShop ) guiLabelSetHorizontalAlign(skinLabel,"center",false) guiSetFont(skinLabel,"default-bold-small") end ) addEventHandler("onClientGUIClick",getRootElement(), function login() if source == login_button then local getUsernameField = guiGetText(Username_edit) local getPasswordField = guiGetText(Password_edit) if getUsernameField and getPasswordField then triggerServerEvent("loginFromClient", getLocalPlayer(), getUsernameField, getPasswordField) end end if source == registration_button then local getUsernameField1 = guiGetText(dusername_edit) local getPasswordField1 = guiGetText(dpassword_edit) if getUsernameField1 and getPasswordField1 then triggerServerEvent("registerFromClient", getLocalPlayer(), getUsernameField1, getPasswordField1) triggerServerEvent("loginFromClient", getLocalPlayer(), getUsernameField1, getPasswordField1) end end end function (buttons) if source == login_button then if guiGetVisible(login_window) == true then guiSetVisible(login_Window, false) showCursor(false) end end if source == register_button then if guiGetVisible(login_window) == true then guiSetVisible(login_window) == false else guiGetVisible(register_window) == false guiSetVisible(register_window) == true showCursor(true) end end if source == cancel_button then if guiGetVisible(register_window) == true then guiSetVisible(register_window) == false else guiGetVisible(login_window) == false guiSetVisible(login_window) == true showCursor(true) end end end function goRight(player) local newSkin = getElementModel (localPlayer) + 1 while not setElementModel (localPlayer,newSkin) do newSkin = newSkin + 1 end end function goLeft(player) local newSkin = getElementModel (localPlayer) - 1 while not setElementModel (localPlayer,newSkin) do newSkin = newSkin - 1 end end function doneButton(thePlayer) guiSetVisible(guiSkinShop,false) showCursor(false) triggerServerEvent("setCameraRegister", localPlayer) if source == registration_button then if guiGetVisible(register_window) == true guiSetVisible(register_window) == false else guiGetVisible(guiSkinShop) == false guiSetVisible(guiSkinShop) == true end end end end addEvent("onClientLoginHide",true) addEventHandler("onClientLoginHide",getRootElement(), function() showCursor(false) guiSetVisible(register_window, false) guiSetVisible(login_window, false) guiSetVisible(guiSkinShop) guiSetInputEnabled(false) end ) addEventHandler ( "onClientGUIClick",right,goRight, false ) addEventHandler ( "onClientGUIClick",done,doneButton, false ) addEventHandler ( "onClientGUIClick",left,goLeft, false ) server side: addEvent("loginFromClient",true) -- Adds the event to be triggered! addEventHandler("loginFromClient",getRootElement(), -- When the event is triggered, this function will also be triggered! function(user,pass) -- Received user and pass data! local account = getAccount ( user, pass ) if account then -- Checks if login returned true, or is accepted! local isLoginAccepted = logIn(source, account, pass) -- Adds a variable to login! if isLoginAccepted then outputChatBox("You have successfully logged into "..user.."'s account!",source, 0,255,0,true) -- Outputs a success message if the player logged in! triggerClientEvent ("onClientLoginHide", getRootElement()) end else outputChatBox(user.."'s account does not exist! Please register!",source, 200,20,0,true) -- Outputs a fail message! end end ) addEvent("registerFromClient",true) -- Adds the event to be triggered! addEventHandler("registerFromClient",getRootElement(), -- When the event is triggered, this function will also be triggered! function(user1,pass1) -- Received user and pass data from the register GUI! local account1 = getAccount ( user1, pass1 ) local isRegisterAccepted = addAccount(user1,pass1) -- Adds a variable to addAccount! if isRegisterAccepted then -- Checks if addAccount returned true, or is accepted! outputChatBox("You have successfully registered "..user1.."'s account!",source, 0,255,0,true) -- Outputs a success message if the player registered! else -- If it failed, the account is already registered! outputChatBox(user1.."'s account already exists!",source, 200,20,0,true) -- Outputs a fail message! end end )
  21. KraZ

    SUGGESTIONS!

    Okay, ive seen a lot of tutorials out there of people showing you how to create scripts instead if the acctuel code, its like teaching someone an accent but not the language so if anyone could make a tutorial of the main codes that are need, for example> addEventHandler("onClientGUIClick",getRootElement) <-- this means (i dont know what it means thats why i need a better tutorial) addEventHandler("onPlayerJoin", getRootElement(), setCameraOnPlayerJoin) ^^^^ you should also explain what these mean, maybe you could make it based off scripts like for example a login screen, you could teach us how to make a login screen using guiEditor then teaching us how to add the eventhandlers onto them so it would look like: function() :the gui crap goes here: then put (which events go where and what the ifs and then and ends mean. im new to lua so pardon me if i get any code wrong here. keep me updated if your planning on doing this,
  22. KraZ

    Help again.

    Thanks for the support Xeno, Add me as a forums buddy
  23. KraZ

    Help again.

    but like i said i want to learn how to lua, if could could just teach me what all of local and stuff mean or something it would help loads.
×
×
  • Create New...