Jump to content

Search the Community

Showing results for tags 'givecash'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 1 result

  1. function giveCash( source, command, giveplayername, amount ) local money = getPlayerMoney( source ) local givenplayer = getPlayerFromNick ( giveplayername ) local playername = getClientName ( source ) local moneytogive = tonumber(amount) if( money < moneytogive ) then outputChatBox ( "* Cantidad invalida", source, 243, 151, 12 ) return end if( moneytogive < 1 ) then outputChatBox ( "* Cantidad invalida", source, 243, 151, 12 ) return end if( givenplayer ) then givePlayerMoney ( givenplayer, amount ) takePlayerMoney ( source, tonumber(amount) ) outputChatBox ( "* Nombre A Quien Depositas" ..amount.." a "..getClientName ( givenplayer ).. ".", source, 243, 151, 12 ) outputChatBox ( "* " ..playername.. " enviar dinero $" ..amount.. ".", givenplayer, 243, 151, 12 ) else outputChatBox ( "* El Jugador No Existe", source, 243, 151, 12 ) end end addCommandHandler ( "Depositar", giveCash ) I need to know if it is correctly configured and if it has a fault in the translation I made, it is for a Latin server
×
×
  • Create New...