Please
login
to use the save/load features!
New Script
Share
GTA:T JavaScript
Check the
GTA:T API
for all commands.
cls(); try { // Try to login, via browser api.autoLogin(); } catch (e) { // Else use MyTestAcc for testing purpose api.login("MyTestAcc","testi"); println("AutoLogin failed, using MyTestAcc.") } player = getPlayer(api.getID()) printH2("Hello "+player["name"]+"!") println("Wallet Money: "+player["money_wallet"]) println("Bank Money: "+player["money_bank"]) if ( player["gang_id"] != 0 ) { var gang = getGang(player["gang_id"]) print("Gang: "+gang["name"]) } else { print("Gang: No gang.") } printH2("Your Shops"); shops = getOwnShops() for (i = 0; i<shops.length ; i++) { shop = getShop(shops[i]["id"]); println(shop["type_name"]) println("- Items: "+ shop["item_count"]+"/1000") println("- Price: "+ shop["item_costs"]+"$/item") println("- Budget: $"+ shop["budget"]) }
Executing the script ...
Welcome to GTA:T Page-Scripting with JavaScript.
Press the
execute
button, to start!