Jump to content

MatXpl

Members
  • Posts

    180
  • Joined

  • Last visited

Everything posted by MatXpl

  1. when I use onClientPlayerQuit it saves my gridlist, but it should save quiting player..
  2. i want save my gridlist to xml function savePlayerEq2() for i = 0, guiGridListGetRowCount ( eq ) do outputChatBox(i) local p1 = guiGridListGetItemText ( eq, i, 1 ) outputChatBox(p1) local p2 = guiGridListGetItemText ( eq, i, 2 ) --typ local p3 = guiGridListGetItemText ( eq, i, 3 ) local p4 = guiGridListGetItemText ( eq, i, 4 ) local p5 = guiGridListGetItemText ( eq, i, 5 ) local p6 = guiGridListGetItemText ( eq, i, 6 ) local p7 = guiGridListGetItemText ( eq, i, 7 ) if not ( p1 == "" ) then triggerServerEvent ( "saveS", getLocalPlayer(), p1, p2, p3, p4, p5, p6, p7, getLocalPlayer() ) end end end
  3. function saveEqS () triggerClientEvent(source, "savePlayerEq") end addEventHandler ( "onPlayerQuit", getRootElement(), saveEqS ) It do nothing...
  4. Hi! I have save_system (by Zyky from community). When I setPlayerMoney in admin Panel its all ok, but when player buy somthing (shop scripts) cash didnt save ( last set ammount ) in shop system i use takePlayerMoney function what is wrong ?
  5. How can i code my scripts ?
  6. How can i made somthing like this?? http://cps.cityhost.pl/mta/php.php?acc=Bober
  7. How can i move my gui window ? I do not mean for it to immediately change position so that it only moves around the screen.
  8. MatXpl

    ComboBox

    What is this? https://wiki.multitheftauto.com/wiki/GuiCreateComboBox O,,o
  9. When it will be posible to replace ped model ?
  10. Can i replace skin model (.dff) in mta 1.1 ?
  11. MatXpl

    onPlayerShot

    How can I detect when a player shoots?
  12. Hi! i have a xml code: <trains> <train src="normal" id="U-113" /> <train src="normal" id="U-114" /> <train src="normal" id="U-115" /> <train src="urban" id="Urban#1" /> <train src="urban" id="Urban#2" /> <train src="speed" id="MS" /> <train src="urban" id="lost" /> </trains> and i wont script to find a U-114 in the xml file in attribute and delete his child
  13. https://wiki.multitheftauto.com/wiki/DxDrawImageSection ?
  14. Hi! I have question - how can i create '3D grid' for images ( like paradise roleplay ) I think its hard, but wery userful for scripters
  15. In my opinion MTA developers should create new archive like gta3.img and here put's cool models ( players download this with mta client it's better solution then replacing orginal models... ) Why? - Player most download this files ( some players have low internet connection ) - Original models is used in gta original map... - It will be easier in scripting
  16. MatXpl

    gta 3 img

    Hi! I have question How the mta:server detects that the gta3.img file was modified ?
  17. sa-mp is better than mta:sa now... Custom object is very good idea, this can attach this same element to all skin in hand for example, and i musn't replace this fucking models... I hope that in future versions of MTA: SA, you can use "custom models"
  18. It's like paradise roleplay but here it saves in xml file I made the same script a few days ago ;D
  19. function ta(thePlayer, command, who, amount) local ne = getPlayerFromName ( who ) local e = getPlayerName ( thePlayer ) if isObjectInACLGroup ( "user." .. e, aclGetGroup ( "Admin" ) ) then takePlayerMoney (ne, math.abs(tonumber(amount))) end end addCommandHandler ("take", ta) Dosn't work Plase help, thanks!
  20. Try this: addEventHandler( "showSkinSelector", getRootElement(), selectorenable )
  21. MatXpl

    GUI...

    https://wiki.multitheftauto.com/wiki/GuiSetVisible ?
  22. MatXpl

    No explode car

    Thanks, but car explode... @Edit I edit this code and its works ( I used https://wiki.multitheftauto.com/wiki/GetElementHealth ) Thanks 4 all!
×
×
  • Create New...