hihohihohiho Posted February 16, 2008 Share Posted February 16, 2008 How do i put stuff on "F9" For commands to help people?????? Link to comment
tma Posted February 16, 2008 Share Posted February 16, 2008 In your client code somewhere (onClientResourceStart() is OK), have something like : helpTab = call(getResourceFromName("helpmanager"), "addHelpTab", getThisResource(), true) guiCreateMemo ( 0.05, 0.05, 0.9, 0.9,"YOUR HELP TEXT GOES HERE",true, helpTab) Link to comment
Jumba' Posted February 16, 2008 Share Posted February 16, 2008 Can't you just make a help.xml file in the gamemode folder? or is this different? Link to comment
50p Posted February 16, 2008 Share Posted February 16, 2008 Yeah, you can create a help.xml and make it client-side. That way it will make a new tab in the F9 help window. Link to comment
eAi Posted February 17, 2008 Share Posted February 17, 2008 That is the recommended solution - the solution provided by tma allows more flexibility, but is more than you need. As always, see the wiki: http://development.mtasa.com/index.php? ... elpmanager Link to comment
hihohihohiho Posted February 17, 2008 Author Share Posted February 17, 2008 Thanks a bunch eAi, i think thats ur name, lol, anyway i would also like to know if someone could make a /idle command to see how long someone was idle for.. Link to comment
hihohihohiho Posted February 17, 2008 Author Share Posted February 17, 2008 Thanks a bunch eAi, i think thats ur name, lol, anyway i would also like to know if someone could make a /idle command to see how long someone was idle for.. Link to comment
Atti Posted February 17, 2008 Share Posted February 17, 2008 You could set a value to getTickCount() when a player press any control, and then compare it with a getTickCount() when you type /idle. I dunno if it would lag. Link to comment
hihohihohiho Posted February 17, 2008 Author Share Posted February 17, 2008 For the f9 thing i have no idea what to put in the xml file or anything, that wiki dont make sence... Link to comment
Mr.Hankey Posted February 17, 2008 Share Posted February 17, 2008 For the f9 thing i have no idea what to put in the xml file or anything, that wiki dont make sence... What?! On this site everything makes sense... What's so hard to understand if it says: "Add this line to the meta.xml:" <config src="help.xml" type="client"/> and create a file called "help.xml" in the resource directory with this content: <help popup="no"> Help text here </help> and where it says "Help text here" you have to replace it with the text you want to show in the f9 tab... Link to comment
hihohihohiho Posted February 17, 2008 Author Share Posted February 17, 2008 i didnt know i had to put it in the helpmanager pff, thanks, got it working Link to comment
Guest Posted February 18, 2008 Share Posted February 18, 2008 Me and my freind are going to make drifting movie in san andreas, and we was thinking to take away the crosshair on the camera and use fraps to record. but we dont have a lan mode for that, and we was wondering if some one could make that for us? a mode so we can have camera as weapon, our own handling, and mayby if possible a car spawner that can spawn any cars. can some one make that for us? i dont think it gonna take a long time, becouse we dont need that spawns in the street and no missions or somthing like that.. Sry for bad english! im from norway. Thanx for help Link to comment
hihohihohiho Posted February 18, 2008 Author Share Posted February 18, 2008 hey dude this is my topic, lol, anyway, my friend says that there is a command that blows up all cars is there? Link to comment
Jumba' Posted February 18, 2008 Share Posted February 18, 2008 hey dude this is my topic, lol, anyway, my friend says that there is a command that blows up all cars is there? straight from the wiki vehicles = getElementsByType ( "vehicle" ) for vehicleKey, vehicleValue in ipairs(vehicles) do blowVehicle ( vehicleValue ) end Link to comment
szlend Posted February 18, 2008 Share Posted February 18, 2008 hey dude this is my topic, lol, anyway, my friend says that there is a command that blows up all cars is there? Ok dude you ask thousand of questions but have you EVER tried doing something by your self? You have every info you'll need at this forum and wiki so stop being lazy. Link to comment
hihohihohiho Posted February 18, 2008 Author Share Posted February 18, 2008 Someone woke up on the wrong side of the cage.. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now