Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. lol Zango, thats right P.S: this forum is for helping with your scripting PROBLEMS not requesting scripts! @nowofresh, you are doble-posting for no reason also your post makes no sense at all.
  2. Castillo

    Basemode Definition

    i think they are the same, i'm not sure anyway.
  3. yeah, i think he already had that part arran (maybe we're wrong anyway o_O)
  4. Hey there, I've decided to upload my gang system, I will write below the features and how to use it. [-] Features: Creategangs Add/Kick members. Add/Remove sub leaders. Gangs list: leader, member count. Leave gang Destroy gang [-] Exported functions: addGang - Arguments: gangName, gangLeader. Returns: true or false. removeGang - Arguments: gangName. Returns: true or false. doesGangExists - Arguments: gangName. Returns: true or false. getGangList - Arguments: None. Returns: A table with gang list. getGangMembers - Arguments: gangName. Returns: A table with gang members. addGangMember - Arguments: gangName, accountName, addedBy. Returns: true or false (if false, it'll return a second argument with the error.). removeGangMember - Arguments: gangName, accountName, kickerName (if used it'll output who kicked the member, else it'll output that you left). isGangMember - Arguments: gangName, accountName. Returns: true or false. getAccountGang - Arguments: accountName. Returns: The gang name, 'None' otherwise. getGangLeader - Arguments: gangName. Returns: The gang leader. getGangSubLeaders - Arguments: gangName. Returns: A JSON string with gang sub leaders. isPlayerGangInvited - Arguments: thePlayer. Returns: 3 arguments: invited, gangName, inviter. getPlayersByGang - Arguments: gangName. Returns: A table with gang players. isGangSubLeader - Arguments: gangName, accountName. Returns: true or false. [-] How to use it: U - Gang panel. /gangs - shows a list of all gangs. /creategang example: /creategang Torchwood Enjoy it and have fun! Download link: https://community.multitheftauto.com/index.php?p=resources&s=details&id=1514
  5. dzek made a script that allows more seats in some vehicles if i'm right, https://community.multitheftauto.com/index.php?p=resources&s=details&id=955 try it.
  6. The server detects the resources with spaces but when you start them it will create a error when you try to download on join. P.S: i helped in via team viewer, i guess problem solved.
  7. type start resource_name in server console.
  8. Castillo

    MTA:SA => RP MP !

    its me or you are creating lot of topics when you could ask all in one topic only?? p.s: its not possible, but you could create your own GUI edit: owh you posted before me
  9. this is a english forum, translate it to english with a translator if you don't know.
  10. wait, i think when i used ~= i was doing if not tostring(songName) ~= "none" then and this is wrong (if i'm right) now i'm testing with: if tostring(songName) ~= "none" then Edit: correct, now is working fine, thank for the help .
  11. Aiboforcen i've tryed that before but, if my data its "none" its like is not "none"
  12. hey, i got a really weird bug O_o, check this: songName = getElementData(getLocalPlayer(),"next_song") if not tostring(songName) == "none" then this is suposed to check if songName is not = "none" well, i have no idea why but my "next_song" element data is "music3.mp3" and it still not working its like he still thinking my element data is "none" if someone know what is causing this please reply, thanks.
  13. that is a tutorial O_o
  14. i recommend to lock this topic, i think he is trying to get post count? lol seems like that but is too notorious.
  15. Great, i've played this game before, it was cool, i wish you luck on the developement of it.
  16. lol Off-topic: lol, i didn't noticed of that.
  17. --Script by Jasper function p () local p1=createPed(287,2186.70,-1193.73,1031.79) local p2=createPed(15,2215.24,-1154.21,1025.79) local p3=createPed(0,2195.17,-1172.98,1029.80) local p4=createPed(285,2233.25,-1161.07,25.89) local p5=createPed(285,2233.25,-1158.61,25.89) setElementInterior(p1,15) setElementInterior(p2,15) setElementInterior(p3,15) setPedArmor(p1,100) setPedArmor(p2,100) setPedArmor(p3,100) setPedArmor(p4,100) setPedArmor(p5,100) setElementRotation(p4,0,0,90) setElementRotation(p5,0,0,90) setTimer( giveWeapon, 1000, 1, p1, 31, 500, true) setTimer( giveWeapon, 1000, 1, p2, 31, 500, true) setTimer( giveWeapon, 1000, 1, p3, 31, 500, true) setTimer( giveWeapon, 1000, 1, p4, 31, 500, true) setTimer( giveWeapon, 1000, 1, p5, 31, 500, true) end addEventHandler("onResourceStart", getResourceRootElement(getThisResource()),p) --©2010 By Jasper
  18. when i tryed without a timer it wasn't working
  19. setTimer( giveWeapon, 1000, 1, ped element, 31, 500, true) this gives him a M4.
  20. but, i don't need to create a team right? Edit: Great it works! thanks slothman
  21. try this, without function should do the same job i think. local sound = playSound("n_polaczenie/snds/tlo.mp3", false) setSoundVolume(sound, 1.0)
  22. do you have the sound file in meta.xml?
  23. oh i didn't know that , thanks for the help again.
×
×
  • Create New...