-
Posts
2,753 -
Joined
-
Last visited
-
Days Won
18
Everything posted by Captain Cody
-
Selling some older RP scripts from my server // I still continue to update scripts // Pricing -- Please don't ask just offer me a price, I'm not the best with setting fair pricing. Car spawn script Bus Driver Job Group System Mechanic job Medic job -- In need of tester so I can test it and make sure it works. -- Police job -- More features have been added, syntax error in payment has been fixed -- Taxi driver job Terrorist -- More features will be added tomorrow Train system -- Currently still in alpha, after some bugs are worked out I will create conductor script to include in it -- Trucker job Tune shop -- Engine performance, ride height etc. -- Car shop system Help panel Fuel system Custom rim pack - Not all my content - Save/Spawn system Pilot job Car Failure System - Sometimes older model vehicles can stall occasionally, and there are very rare chances for a random wheel to blow while going down the high way. --- stall = 2/100 chance blow = 1/100 chance, random wheel will go out. //Started will be finished soon// -- Engine stalls / failures also applicable for some planes -- Pulling straight up / to steep = stall, 1/100 chance for engine failure. ---Other stuff, ask if I have it, if you're looking for something different--- Server did not turn out as I tried, did not get any players joining since startup. Shut it down and now I am selling scripts from it. As to how the scripts work -- Alot of scripts have been made for the server, if you would like any of them comment here, message me, or email me @ [email protected] If you want any of the scripts. Any updates to the scripts will be posted here any updates can be received free of charge if you actually bought the pack, using pack or individual scripts without permission will block your access to updates, and any support what so ever. mtasa://173.78.66.13:22003 Test server, please contact me before joining so you do not join to an afk person. Offer a price for pack, or individual scripts. Pack includes more benefits but individual scripts would cost less, 'Unless you buy them all, pack beats that'
-
Well I didn't really include the whole deal just put an example...
-
omClientPedDamage stuff--- if getTeam(attacker) == "police" then
-
isObjectInACLGroup("user."..getAccountName(getPlayerAccount(player)),aclGetGroup("Admin")) then code- - else end end
-
That's because that server reroutes the commands to "T" chat.
-
Well he wanted it so only a certain group could use it, so or works just fine in this situation.
-
Translation ---- He is looking for the id of an ammunition box, usually found on dayz servers.
-
function shout ( player, cmd, ... ) local accountname = getAccountName ( getPlayerAccount ( player ) ) if isObjectInACLGroup ( "user.".. accountname, aclGetGroup ( "Admin" ) ) or isObjectInACLGroup ( "user." ..accountname, aclGetGroup ( "Console" ) ) or isObjectInACLGroup ( "user." ..accountname, aclGetGroup ( "SuperModerator" ) ) then
-
What exactly are yeh trying to do?
-
Yes. Seams I cannot help you there.
-
What do you mean by this...
-
staffcarss = { [520] = true, } function staffcars ( player, seat, jacked ) if staffcarss[getElementModel(source)] then if not isObjectInACLGroup("user."..getAccountName(getPlayerAccount(player)),aclGetGroup("Admin")) then cancelEvent() outputChatBox ("Yee must be admin to neter this car matty.", player, 255, 255, 255, true ) else return end end end addEventHandler ( "onVehicleStartEnter", getRootElement(), staffcars ) -
-
Well if you can convert the RGB to hex somehow, then it would be possible. Edit-- Danm did not see there was 4 pages... Woops
-
I already figured out how to pull the properties from the table, I need to figure out how to seperate the 6 or so digits of the handling/model tags so I can set the wider wheels, 1G_Boost 2G_Boost etc. modelFlags Property uses a decimal value, generated by a hexadecimal value. Either use 0x12345678 or tonumber ( "0x12345678" ). See projectcerbera for possible values. handlingFlags Property uses a decimal value, generated by a hexadecimal value. Either use 0x12345678 or tonumber ( "0x12345678" ). See projectcerbera for possible values. 16 bytes, every 4 are packed in each 2 digits. Though when one number hits 10, it's changed to a letter "hex crap" the question is how I would be able to change the digits correctly.
-
Well the question I have is how would I separate it, I figured out how to set the tables and stuff, just need to figure out how to divide the handingflags and model flags.
-
I figured out how to do it.
-
How would I make it constantly update the info?
-
How would I send info from a server side script to client side script? Example - Shop script, as you upgrade stuff it increases total cost and stuff server side, how would I transfer that to client side "Gui"
-
How would I spilt the handling flags / model flags, so I can set the values of the bytes individually?
-
Well I need to rewrite half to code to add something to detect if you are aiming. I'll finish it up soon.
-
Oh I was doing it right, I just forgot the paraphrases.. But does any one know how I would go about doing the first part, I did check hedit but parts for it are scattered all around the resource.
-
https://wiki.multitheftauto.com/wiki/Se ... ndsEnabled
-
I need the script for the Gui, to addon to it to allow this, it's hard to blindly addon to it, when you don't understand.
