Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/12/22 in all areas

  1. Problem Solved The problem of not sending email is because gmail does not have "2-step verification" enabled. For php warnings, it is necessary to check the array with isset. <?php include("sdk/mta_sdk.php"); $input = mta::getInput(); if(isset($input[0]) && isset($input[1]) && isset($input[2]) && isset($input[3])) { $resetMail = mail($input[0], $input[2], $input[3], "From: ".$input[1]."\n" . "Content-Type: text/html; charset=iso-8859-1\n"); if($resetMail){ mta::doReturn("Success"); } else{ mta::doReturn("Failed"); } } ?>
    1 point
  2. You can set the top speed of aircraft, but cannot access the rest of their handling properties currently. https://wiki.multitheftauto.com/wiki/SetAircraftMaxVelocity
    1 point
  3. Hello @Nelly Please inform your MTA serial. If you don't know how to get it then open your MTA, press F8 and type serial
    1 point
  4. @noSnooping I have made it so only moderators can see new comments in this thread, please post the email address and server IP address + port below
    1 point
  5. Seu código não tem nenhuma função de setar vida nem colete. Faltou a parte server-side.
    1 point
  6. The email set in your server configuration is close to the one that you have shown in the video (which was removed for your privacy). Sign in to your email account and you should see the problem with what you entered in the toplist form. @noSnooping
    1 point
  7. Alright then, I'll escalate this since I'm not sure what's going on with it. @Tut
    1 point
  8. is it important ? ex .. without window function command ( player, Command, amount ) local account = getPlayerAccount ( *** ) if account and not isGuestAccount ( *** ) and tostring (Command) and tonumber (amount) > 0 then local money = getAccountData ( ***, "Bank" ) or 0 if Command == "get" and money >= amount then givePlayerMoney ( ***, amount ) setAccountData ( account, "Bank", money - amount ) elseif *** == "set" and getPlayerMoney ( *** ) >= amount then takePlayerMoney ( player, *** ) setAccountData ( account, "Bank", money + *** ) end end end addCommandHandler ( "set", ***, command ) -- set +amount addCommandHandler ( "get", root, *** ) -- get +amount Not Tested Try to know what is the *** means
    1 point
  9. Hello @Danil999 Please inform your MTA serial. If you don't know how to get it then open your MTA, press F8 and type serial
    0 points
×
×
  • Create New...