Jump to content

Dante94

Members
  • Posts

    24
  • Joined

  • Last visited

Everything posted by Dante94

  1. Hello guys, I want to make ATMs unbreakable but can't find a function or something like that. What can i use?
  2. Came on people, still can't figure out why this happend !
  3. Dante94

    Sprint limit

    Can you explain a bit better? Becouse something like: if you press the sprint key then it starts a timer that after a few seconds stop your sprint; it's not a good way to do it
  4. Dante94

    Sprint limit

    Hey guys, I would like to limit the sprint to a stated amount of time. Is there any function to know if a player is sprinting?
  5. Hey guys, i was just wondering. Is there a casino system like in singleplayer were you can play blackjack and other games or it isn't part of MTA? Becouse i know SA:MP as something like that.
  6. No I'm wrong, it happens also if i make a folder in resources and add the map and meta files in there. I still have to re-enter the interior everytime i log out and log back in
  7. Well, i'm actually using that kind of why to upload maps since i don't know others, if you can suggest me a better one i would definitely try it
  8. Hey guys i have this little problem that is really frustrating for me. I'm using MTA Paradise Gamemode as the base for mine, the problem is when i load a map (like a couple of boxes) that is placed in an interior i have to enter and exit the interior to see the objects and i have to do this everytime i log out and log back in. Any idea?
  9. Yo guys I'm using this function consoleGive ( thePlayer, commandName, weaponID, ammo ) local status = giveWeapon ( thePlayer, weaponID, ammo, true ) -- attempt to give the weapon, forcing it as selected weapon if ( not status ) then -- if it was unsuccessful outputConsole ( "Failed to give weapon.", thePlayer ) -- tell the player end end addCommandHandler ( "give", consoleGive ) but i want the possibility to give weapons not to me but to an indicated player! What i have to add to make it work like that?
  10. Yea, sorry for posting in the wrong section
  11. Hey guys, I recently added the superman resource and everything is set up correctly but the command /superman doesn't make anything happend. Can't figure out what i'm missing !
  12. Can you give me an example of what i should write to save the money in the player account? i can't figure it out myself...
  13. Thanks "The best" but the problem is, with this command i give a stated amount of money and i want to be able to set the amount i want everytime, also the big problem is the money disappear after i relog on the server so they are only in client side becouse they don't get saved. How can i make it work on server side?
  14. Adding command didn't change anything but also, if we set a fixed import instead of a var (like 100 dollars) it works BUT it appear to be only on client side, infact when we relog the money are gone. (we also use a mysql database if it's important)
  15. Okay i figured out how to get them start but i have a problem with one of these: function pay(player, amount) if( givePlayerMoney ( player, tonumber(amount) ) ) then outputChatBox ("Hai dato dei soldi", source, 255, 255, 255, true ) end end addCommandHandler ( "gmoney", pay ) It says WARNING: commands\script.lua:20: Bad argument @ 'givePlayerMoney'
  16. First of all a big hello to you all Now, here's my problem. I recently started an RP server and we are building the gamemode using the paradise roleplay gamemode (yea, you can laugh ) but we can't figure out how to get our commands working. Infact we added a new folder containing the files and the resource gets loaded without problems but then when we use the command in game it doesn't work. Also we can't figure out how to give weapons and money to players. Hope someone can help us out and tell us what we are missing ^^
×
×
  • Create New...