Jump to content

mjau

Members
  • Posts

    589
  • Joined

  • Last visited

Everything posted by mjau

  1. alexxs send them the serverlog file or look at it yourself maybe u se why it dont work yourself
  2. mjau

    small question

    would this work i map a vehicle and set its map id to vehicle1 i enter it and lock it to a player then the player getsthe account data vehicle 1 and if player have that account data they can enter else they cannot Idk how i would do this with castillos gangsys but im sure i will find a way there too
  3. mjau

    small question

    Hi i am tired of manually scripting every locked vehicle needed so i tought i should make a vehicle locker GUI so how can i do this ? i mean elementdata dissapers on serverstop.... any other ways than using elementdata or is it anyway getting it to save? The idea was to get in the mapped vehicle and open the gui then i can select if i wanna lock it for a single player or gang but i cant do any of those if the elementdata doesent save...
  4. mjau

    question

    u mean set health via admin panel ?
  5. mjau

    So, why that avatar?

    Because i fell asleep listening to 10 hours verison of peanut butter jelly time now its the only thing i see clearly(a banana dancing)
  6. i found some bugs /gangs dont give you any ability to close window, when you invite someone the message the guy who got invited should get the inviter gets, sub leader can kick leader ;O but cant destroy gang make subleader unavaible to kick leader
  7. oh was writing a bit fast i meant SQLite anyway if you make this small setting so i can set the collumn title i want i would be thankful
  8. Just to mention i understand why solidsnake compiled this because there are people dumb enough to steal credits especially for a script like this wich needs u to know SQLite coding too I dont really see why people remove credits i could printed Castillo on every resource i make because i dont see what differnce that is for the players, and capy if i could i would just changed the part on the script wich adds the collumn in scoreboard....
  9. https://wiki.multitheftauto.com/wiki/Cli ... _Functions https://wiki.multitheftauto.com/wiki/Cli ... ing_Events https://wiki.multitheftauto.com/wiki/Ser ... _Functions https://wiki.multitheftauto.com/wiki/Ser ... ing_Events find them trough theese it is categorized so if u don t know name of a gui function simply find it on client scripting functions
  10. Nice work Solidsnake but could u add some settings in meta for example to set the collumn title in scorebard since some other servers are not english. and someone like "Group" better and im sure there are some other useful settings u can add
  11. Could u atleast tell what you want/ trying to make ?
  12. Well for the panel you will ned some gui functions but read the wiki but for the features i saw your GUI had theese are the only needed i think
  13. getPlayerMoney getPlayerTeam getPlayerIP getPlayerAccount givePlayerMoney takePlayerMoney guiGetText setElementHealth setPedArmor giveWeapon
  14. So i just helped a friend with setting up a server on this host and make some scripts for him and i must say this hosting is good i live in norway and had 45 ping while downlaoding a movie ;O backup feature is great, update feature too its really easy to update your server and i could even downgrade it to 1.2 tried uplaoding a song on 7.5 mb to the server and it took me around 8 seconds to download it so Really great and cheap hosting i will buy my own server here soon....
  15. well idebug says it all youre trying to comapre a number with a nil value, u sure there is any elemtndata on the vehicle ?
  16. mjau

    Question

    yeah kenix the operator and tapl i saw that but didnt understand what its useful for
  17. mjau

    Question

    Ok im just wondering what is break for in lua ?
  18. oh the cursor just remove showCursor(true) fromn the script
  19. addEventHandler("onClientResourceStart",resourceRoot, function() GUIEditor_Button = {} GUIEditor_Button[1] = guiCreateButton(732,9,63,18,"Updates",false) guiSetAlpha(GUIEditor_Button[1],0) GUIEditor_Button[2] = guiCreateButton(737,6,58,20,"Updates",false) GUIEditor_Button[3] = guiCreateButton(685,6,47,21,"Rules",false) showCursor(true) addEventHandler("onClientGUIClick", GUIEditor_Button[3], showRules) end ) function showRules() if ( myWindow == nil ) then myWindow = guiCreateWindow ( 0.20, 0.20, 0.6, 0.6, "Information about Roleplaying", true ) local tabPanel = guiCreateTabPanel ( 0, 0.1, 1, 1, true, myWindow ) local tabRules = guiCreateTab( "Rules", tabPanel ) local paneRules = guiCreateScrollPane(0.02, 0.02, 0.95, 0.95, true, tabRules) local tabRules2 = guiCreateTab( "Rules II", tabPanel ) local paneRules2 = guiCreateScrollPane(0.02, 0.02, 0.95, 0.95, true, tabRules2) local tabOverview = guiCreateTab( "Roleplay Overview", tabPanel ) local tabPowergaming = guiCreateTab( "Powergaming", tabPanel ) local tabMetagaming = guiCreateTab( "Metagaming", tabPanel ) local tabCommonSense = guiCreateTab( "Common Sense", tabPanel ) local tabRevengeKilling = guiCreateTab( "Revenge Killing", tabPanel ) --------- guiScrollPaneSetScrollBars(paneRules, false, true) local xml1 = xmlLoadFile( "serverrules.xml" ) local contents1 = xmlNodeGetValue( xml1 ) local xml2 = xmlLoadFile( "serverrules2.xml" ) local contents2 = xmlNodeGetValue( xml2 ) local xml3 = xmlLoadFile( "whatisroleplaying.xml" ) local contents3 = xmlNodeGetValue( xml3 ) local xml4 = xmlLoadFile( "powergaming.xml" ) local contents4 = xmlNodeGetValue( xml4 ) local xml5 = xmlLoadFile( "metagaming.xml" ) local contents5 = xmlNodeGetValue( xml5 ) local xml6 = xmlLoadFile( "commonsense.xml" ) local contents6 = xmlNodeGetValue( xml6 ) local xml7 = xmlLoadFile( "revengekilling.xml" ) local contents7 = xmlNodeGetValue( xml7 ) --------- guiCreateLabel(0.00,0.00,0.94,1.4,contents1,true,paneRules) guiCreateLabel(0.00,0.00,0.94,1.4,contents2,true,paneRules2) guiCreateLabel(0.02,0.04,0.94,0.92,contents3,true,tabOverview) guiCreateLabel(0.02,0.04,0.94,0.92,contents4,true,tabPowergaming) guiCreateLabel(0.02,0.04,0.94,0.92,contents5,true,tabMetagaming) guiCreateLabel(0.02,0.04,0.94,0.92,contents6,true,tabCommonSense) guiCreateLabel(0.02,0.04,0.94,0.92,contents7,true,tabRevengeKilling) showCursor ( true ) else destroyElement(myWindow) myWindow = nil showCursor(false) end end
  20. mjau

    sethp to me

    Is this full code ?
  21. mjau

    Car Paintjobs

    I dont think so but it should be possible to make a paintjob system like that if u make a script witch switches paintjob.txd files when u example do a command or click a button, wouldnt be too hard....
  22. mjau

    Nothing there

    Well really this gamemode isnt too hard to make but i cant do this right now since im aleready developing a new GM... Read some tutrorials and stuff learn LUA and you will be able to make it yourself
  23. csmit in right top corner of wiki it says login with openID try that
  24. https://community.multitheftauto.com/index.php?p= ... ts&id=1679 MOJRM which complained about some guys decompiling his shop now he is publishing others scripts ...
×
×
  • Create New...