Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. wth are you saying? that userpanel has many stuff such car color and more stuff
  2. you added yourself correctly to the acl.xml group admin?
  3. Well, i don't know much of race since i don't like it but there is one that has many stuff like achievements shop personal info car color nick chat color etc,etc, you can download it here, https://community.multitheftauto.com/index.php?p=resources&s=details&id=821 hope it helps.
  4. dude first, you ask it really bad, and second this is not a requesting forum. if you want to learn i invite you to start and make your stuff by YOURSELF. MTA WIKI: https://wiki.multitheftauto.com/ Good luck
  5. thats impossible you are using onPlayerSpawn event right? then how you get an account from nowhere?
  6. sorry, 27 what is "zoo"? you must know that getAccountData needs getPlayerAccount also.
  7. hmm you said what error you get but not what LINE is
  8. I use 1024 x 768 actually, dunno why players uses 800 x 600 its kinda big.
  9. Castillo

    /cash name

    function checkMoney2(thePlayer, command, who) if (who == nil ) or who == false then outputChatBox ("ERROR: You must insert a valid player name.", thePlayer, 255, 0, 0, false) else local who2 = getPlayerFromName(who) local Name = getPlayerName(who2) outputChatBox("*"..who.." Has $"..getPlayerMoney(who2).."",getRootElement(),255,255,0) end end addCommandHandler("cash", checkMoney2) you forgot to do getPlayerFromName
  10. wtf.. what do you mean with getPlayerAccount??, first you got to store it somewhere can be setAccountData then when enter maybe do getAccountData? etc
  11. We don't make request, you got to learn by yourself, also this is in wrong section. btw this is your salvation: https://wiki.multitheftauto.com/wiki/Scripting_Introduction Good luck.
  12. do it and it will work im sure.... what about when a map changes the sky etc?
  13. thats what i did when i found this but but this just uses setVehicleColor function, i suposed it was destroying my car and creating new one or something like that but no. so i just closed all paysprays
  14. I think it's because the name of vehicle changes in there, not sure tough what do you mean with "name"?? how can change the name of the vehicle O_o
  15. i know varez, i'm doing that just forgot at moment
  16. question, i got an image and also a redblip that should change acording to the data he gets from the xml file but dunno why it won't move from the creation place, here is my code. solved.
  17. whats the point of the argument "thePlayer" there?
  18. srry for Repost but i have to say thx to all ppl who help me make this possible since its my first script thx To: Vares SolidSnake14 [DMC] write varez nick as "varez" else he will get angry.
  19. i think this was easier, if getElementData(localPlayer,"Race Loses") then setElementData(localPlayer,"Race Loses",tonumber(getElementData(localPlayer,"Race Loses"))+1) else setElementData(localPlayer,"Race Loses",1)
  20. lol I Meant, MTA:SA 1.0.4 Will Stop Developing ? or Will still Making 1.0.5 ? Thats what I Meant as varez said 1.0.5 dosn't exist! next release its 1.1 understand? back to topic, well i can't find much point on this suggestion since they won't learn scripting if they got all what they want..
  21. Thank you varez, its working
  22. <config src="phones/locationsPhones.xml"/>
  23. lol i was thinking that, i never heard of 1.0.5 thats why i was confused
  24. hi, i've got a problem loading data from a xml file to a grid list, dunno why the xml xml won't load but in server side it does... here is my loading code part. function populateGridlist() local rootnode = xmlLoadFile("phones/locationsPhones.xml") if rootnode then for _,group in ipairs(xmlNodeGetChildren(rootnode)) do local row = guiGridListAddRow(listPlaces) local name = xmlNodeGetAttribute(group,"name") guiGridListSetItemText ( listPlaces, row, 1, name, false, false ) outputDebugString("working") end xmlUnloadFile(rootnode) end end thanks in advance.
×
×
  • Create New...