-
Posts
1,708 -
Joined
-
Last visited
Everything posted by iFoReX
-
thank you , now it doesnt have a admin panel ?
-
very very very very thank you :DDDD, work 10000000% now doesnt close it is good , right ? I cant register [2012-06-07 08:59:47] Resources: 30 loaded, 0 failed [2012-06-07 08:59:47] Querying game-monitor.com master server... unavailable! [2012-06-07 08:59:49] Querying backup master server... success! [2012-06-07 08:59:50] MODULE: Loaded "MySQL 5.0 database module" (0.50) by "Alberto Alonso " [2012-06-07 08:59:50] MODULE: Loaded "SHA Module" (1.02) by "mabako" [2012-06-07 08:59:50] Starting resources...... [2012-06-07 08:59:50] Start up of resource irc cancelled by script [2012-06-07 08:59:50] ERROR: Unable to start resource irc; Start up of resource cancelled by script [2012-06-07 08:59:50] WARNING: players/main.lua(Line 379) [Server] setPedFrozen is deprecated and may not work in future versions. Please replace with setElementFrozen. [2012-06-07 08:59:50] Some files in 'players' use deprecated functions. [2012-06-07 08:59:50] Use the 'upgrade' command to perform a basic upgrade of resources. [2012-06-07 08:59:51] INFO: Created table characters [2012-06-07 08:59:51] INFO: Created table wcf1_user [2012-06-07 08:59:51] INFO: Created table wcf1_group [2012-06-07 08:59:52] INFO: Created table wcf1_user_to_groups [2012-06-07 08:59:52] INFO: Removed account ElMota [2012-06-07 08:59:52] INFO: Removed account #ff00ccxXJackXx [2012-06-07 08:59:52] INFO: Removed account #11bbffSun#BEBEBEaDe* [2012-06-07 08:59:52] INFO: Removed account [Crows]~Psyko~ [2012-06-07 08:59:52] INFO: Removed account R4T4 [2012-06-07 08:59:52] INFO: Created table vehicles [2012-06-07 08:59:52] INFO: Created table fuelpoints [2012-06-07 08:59:52] INFO: Created table interiors [2012-06-07 08:59:52] INFO: Created table items [2012-06-07 08:59:53] INFO: Created table phones [2012-06-07 08:59:53] WARNING: admin/player.lua(Line 225) [Server] isPedFrozen is deprecated and may not work in future versions. Please replace with isElementFrozen. [2012-06-07 08:59:53] WARNING: admin/player.lua(Line 238) [Server] setPedFrozen is deprecated and may not work in future versions. Please replace with setElementFrozen. [2012-06-07 08:59:53] WARNING: admin/player.lua(Line 241) [Server] setVehicleFrozen is deprecated and may not work in future versions. Please replace with setElementFrozen. [2012-06-07 08:59:53] Some files in 'admin' use deprecated functions. [2012-06-07 08:59:53] Use the 'upgrade' command to perform a basic upgrade of resources. [2012-06-07 08:59:53] WARNING: shops/shop.lua(Line 57) [Server] setPedFrozen is deprecated and may not work in future versions. Please replace with setElementFrozen. [2012-06-07 08:59:53] Some files in 'shops' use deprecated functions. [2012-06-07 08:59:53] Use the 'upgrade' command to perform a basic upgrade of resources. [2012-06-07 08:59:53] INFO: Created table shops [2012-06-07 08:59:53] INFO: Created table shopitems [2012-06-07 08:59:53] INFO: Created table maps [2012-06-07 08:59:54] INFO: Created table map_objects [2012-06-07 08:59:54] INFO: Loaded 0 maps with 0 objects. [2012-06-07 08:59:54] INFO: Created table teleports [2012-06-07 08:59:54] WARNING: bank/bank.lua(Line 59) [Server] setPedFrozen is deprecated and may not work in future versions. Please replace with setElementFrozen. [2012-06-07 08:59:54] Some files in 'bank' use deprecated functions. [2012-06-07 08:59:54] Use the 'upgrade' command to perform a basic upgrade of resources. [2012-06-07 08:59:54] INFO: Created table banks [2012-06-07 08:59:54] INFO: Created table bank_accounts [2012-06-07 08:59:54] INFO: Created table bank_cards [2012-06-07 08:59:54] INFO: Created table factions [2012-06-07 08:59:55] INFO: Created table character_to_factions [2012-06-07 08:59:55] INFO: Created table faction_ranks [2012-06-07 08:59:55] INFO: Created table 3dtext [2012-06-07 08:59:55] Server started and is ready to accept connections! [2012-06-07 08:59:55] Type 'help' for a list of commands. [2012-06-07 08:59:55] WARNING: Connecting to your MySQL as 'root' is strongly discouraged. [2012-06-07 08:59:55] _ _ _ [2012-06-07 08:59:55] | | | (_) [2012-06-07 08:59:55] _ __ ___ | |_ __ _ _ __ __ _ _ __ __ _ __| |_ ___ ___ [2012-06-07 08:59:55] | '_ ` _ \| __/ _` | | '_ \ / _` | '__/ _` |/ _` | / __|/ _ \ [2012-06-07 08:59:55] | | | | | | || (_| | | |_) | (_| | | | (_| | (_| | \__ \ __/ [2012-06-07 08:59:55] |_| |_| |_|\__\__,_| | .__/ \__,_|_| \__,_|\__,_|_|___/\___| [2012-06-07 08:59:55] | | [2012-06-07 08:59:55] |_| v1.00
-
eso es lo que pasa cuando se hace con partes de otros script y no entiendes como se usan, no encontre el error , el codigo es muy largo, porque mejor no creas una tabla, y le pones en getVehicleFromModel ? local cars = {{493,699999},{484,300000},{446,1599999},{469,2999999},{563,5999999},{488,6999999},{487,6999999},{417,3999999},{548,4999999},{497,7999999},{579,60000},{400,60000},{404,28000},{489,65000},{505,65000},{479,45000},{442,45000},{458,45000},{602,50000},{496,42500},{401,41000},{518,60000},{527,75000},{589,75000},{419,45000},{533,75000},{526,50000},{474,55000},{545,50000},{517,45000},{410,41000},{600,50000},{436,41000},{580,50000},{439,75000},{549,75000},{491,45000},{445,45000},{507,45000},{585,45000},{587,75000},{466,55000},{492,50000},{546,45000},{551,45000},{516,45000},{467,45000},{426,47500},{547,45000},{405,55000},{409,75000},{550,45000},{566,45000},{540,45000},{421,50000},{529,45000},{402,12000},{542,65000},{603,12000},{475,75000},{562,120000},{565,95000},{559,120000},{561,50000},{560,120000},{558,100000},{429,120000},{541,120000},{415,120000},{480,95000},{434,100000},{494,120000},{502,120000},{503,120000},{411,120000},{506,120000},{451,120000},{555,95000},{477,95000},{499,25000},{498,25000},{578,50000},{486,70000},{455,75000},{588,50000},{403,75000},{414,50000},{443,75000},{515,75000},{514,75000},{531,12000},{456,45000},{422,45000},{482,95000},{530,12000},{418,45000},{572,12000},{582,50000},{413,5000},{440,50000},{543,65000},{583,12000},{478,35000},{554,50000},{536,75000},{575,75000},{534,75000},{567,75000},{535,75000},{576,75000},{412,75000},{568,75000},{457,12000},{483,45000},{508,40000},{571,10000},{500,55000},{444,120000},{556,120000},{557,120000},{471,20000},{495,100000},{539,75000},{481,25050},{509,2500},{581,45000},{462,12000},{521,60000},{463,50000},{522,75000},{448,12000},{468,45000},{586,45000},{485,12000},{431,60000},{438,45000},{437,60000},{574,12000},{420,45000},{525,75000},{408,50000},{428,65000}} for i,v in ipairs (cars) do local carName = getVehicleNameFromModel (v[1]) local row = guiGridListAddRow (carGridList)
-
privileges? and montiz I done it here the server.log [2012-06-07 08:03:51] Resources: 30 loaded, 0 failed [2012-06-07 08:03:51] Querying game-monitor.com master server... unavailable! [2012-06-07 08:03:51] Querying backup master server... success! [2012-06-07 08:03:53] MODULE: Loaded "MySQL 5.0 database module" (0.50) by "Alberto Alonso <[email protected]>" [2012-06-07 08:03:53] MODULE: Loaded "SHA Module" (1.02) by "mabako" [2012-06-07 08:03:53] Starting resources..... [2012-06-07 08:03:53] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:53] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:53] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:53] Start up of resource sql cancelled by script [2012-06-07 08:03:53] ERROR: Unable to start resource sql; Start up of resource cancelled by script [2012-06-07 08:03:53] Start up of resource irc cancelled by script [2012-06-07 08:03:53] ERROR: Unable to start resource irc; Start up of resource cancelled by script [2012-06-07 08:03:53] WARNING: players/main.lua(Line 379) [server] setPedFrozen is deprecated and may not work in future versions. Please replace with setElementFrozen before Tuesday. [2012-06-07 08:03:53] Some files in 'players' use deprecated functions. [2012-06-07 08:03:53] Use the 'upgrade' command to perform a basic upgrade of resources. [2012-06-07 08:03:53] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:53] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:53] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:53] Start up of resource sql cancelled by script [2012-06-07 08:03:53] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:53] Start up of resource players cancelled by script [2012-06-07 08:03:53] ERROR: Unable to start resource players; Start up of resource cancelled by script [2012-06-07 08:03:53] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:53] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:53] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:53] Start up of resource sql cancelled by script [2012-06-07 08:03:53] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:53] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:53] Start up of resource vehicles cancelled by script [2012-06-07 08:03:53] ERROR: Unable to start resource vehicles; Start up of resource cancelled by script [2012-06-07 08:03:53] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:53] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:53] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:53] Start up of resource sql cancelled by script [2012-06-07 08:03:53] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:53] Start up of resource interiors cancelled by script [2012-06-07 08:03:53] ERROR: Unable to start resource interiors; Start up of resource cancelled by script [2012-06-07 08:03:53] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:53] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:53] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:53] Start up of resource sql cancelled by script [2012-06-07 08:03:53] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:53] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:53] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:53] Start up of resource sql cancelled by script [2012-06-07 08:03:53] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:53] Start up of resource players cancelled by script [2012-06-07 08:03:53] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:53] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:53] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:53] Start up of resource sql cancelled by script [2012-06-07 08:03:53] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:53] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:53] Start up of resource items cancelled by script [2012-06-07 08:03:53] ERROR: Unable to start resource items; Start up of resource cancelled by script [2012-06-07 08:03:53] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:53] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:53] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:53] Start up of resource sql cancelled by script [2012-06-07 08:03:53] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:53] Start up of resource players cancelled by script [2012-06-07 08:03:53] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:53] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:53] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:53] Start up of resource sql cancelled by script [2012-06-07 08:03:53] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:53] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:53] Start up of resource vehicles cancelled by script [2012-06-07 08:03:53] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:53] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:53] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:53] Start up of resource sql cancelled by script [2012-06-07 08:03:53] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:53] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:53] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:53] Start up of resource sql cancelled by script [2012-06-07 08:03:53] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:53] Start up of resource players cancelled by script [2012-06-07 08:03:53] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:53] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:53] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:53] Start up of resource sql cancelled by script [2012-06-07 08:03:53] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:53] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:53] Start up of resource items cancelled by script [2012-06-07 08:03:53] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:53] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:53] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:53] Start up of resource sql cancelled by script [2012-06-07 08:03:53] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:53] Start up of resource players cancelled by script [2012-06-07 08:03:53] WARNING: admin/player.lua(Line 225) [server] isPedFrozen is deprecated and may not work in future versions. Please replace with isElementFrozen before Tuesday. [2012-06-07 08:03:53] WARNING: admin/player.lua(Line 238) [server] setPedFrozen is deprecated and may not work in future versions. Please replace with setElementFrozen before Tuesday. [2012-06-07 08:03:53] WARNING: admin/player.lua(Line 241) [server] setVehicleFrozen is deprecated and may not work in future versions. Please replace with setElementFrozen before Tuesday. [2012-06-07 08:03:53] Some files in 'admin' use deprecated functions. [2012-06-07 08:03:53] Use the 'upgrade' command to perform a basic upgrade of resources. [2012-06-07 08:03:54] WARNING: shops/shop.lua(Line 57) [server] setPedFrozen is deprecated and may not work in future versions. Please replace with setElementFrozen before Tuesday. [2012-06-07 08:03:54] Some files in 'shops' use deprecated functions. [2012-06-07 08:03:54] Use the 'upgrade' command to perform a basic upgrade of resources. [2012-06-07 08:03:54] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:54] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:54] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:54] Start up of resource sql cancelled by script [2012-06-07 08:03:54] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:54] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:54] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:54] Start up of resource sql cancelled by script [2012-06-07 08:03:54] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:54] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:54] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:54] Start up of resource sql cancelled by script [2012-06-07 08:03:54] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:54] Start up of resource players cancelled by script [2012-06-07 08:03:54] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:54] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:54] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:54] Start up of resource sql cancelled by script [2012-06-07 08:03:54] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:54] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:54] Start up of resource items cancelled by script [2012-06-07 08:03:54] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:54] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:54] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:54] Start up of resource sql cancelled by script [2012-06-07 08:03:54] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:54] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:54] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:54] Start up of resource sql cancelled by script [2012-06-07 08:03:54] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:54] Start up of resource players cancelled by script [2012-06-07 08:03:54] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:54] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:54] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:54] Start up of resource sql cancelled by script [2012-06-07 08:03:54] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:54] Start up of resource shops cancelled by script [2012-06-07 08:03:54] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:54] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:54] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:54] Start up of resource sql cancelled by script [2012-06-07 08:03:54] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:54] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:54] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:54] Start up of resource sql cancelled by script [2012-06-07 08:03:54] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:54] Start up of resource players cancelled by script [2012-06-07 08:03:54] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:54] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:54] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:54] Start up of resource sql cancelled by script [2012-06-07 08:03:54] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:54] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:54] Start up of resource items cancelled by script [2012-06-07 08:03:54] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:54] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:54] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:54] Start up of resource sql cancelled by script [2012-06-07 08:03:54] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:54] Start up of resource players cancelled by script [2012-06-07 08:03:54] ERROR: Unable to start resource shops; Start up of resource cancelled by script [2012-06-07 08:03:54] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:54] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:54] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:54] Start up of resource sql cancelled by script [2012-06-07 08:03:54] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:54] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:54] Start up of resource vehicles cancelled by script [2012-06-07 08:03:54] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:54] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:54] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:54] Start up of resource sql cancelled by script [2012-06-07 08:03:54] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:54] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:54] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:54] Start up of resource sql cancelled by script [2012-06-07 08:03:54] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:54] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:54] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:54] Start up of resource sql cancelled by script [2012-06-07 08:03:54] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:54] Start up of resource players cancelled by script [2012-06-07 08:03:54] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:54] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:54] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:54] Start up of resource sql cancelled by script [2012-06-07 08:03:54] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:54] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:54] Start up of resource items cancelled by script [2012-06-07 08:03:54] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:54] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:54] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:54] Start up of resource sql cancelled by script [2012-06-07 08:03:54] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:54] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:54] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:54] Start up of resource sql cancelled by script [2012-06-07 08:03:54] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:54] Start up of resource players cancelled by script [2012-06-07 08:03:54] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:54] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:54] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:54] Start up of resource sql cancelled by script [2012-06-07 08:03:54] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:54] Start up of resource shops cancelled by script [2012-06-07 08:03:54] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:54] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:54] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:54] Start up of resource sql cancelled by script [2012-06-07 08:03:54] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:54] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:54] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:54] Start up of resource sql cancelled by script [2012-06-07 08:03:54] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:54] Start up of resource players cancelled by script [2012-06-07 08:03:54] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:54] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:54] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:54] Start up of resource sql cancelled by script [2012-06-07 08:03:54] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:54] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:54] Start up of resource items cancelled by script [2012-06-07 08:03:54] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:54] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:54] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:54] Start up of resource sql cancelled by script [2012-06-07 08:03:54] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:54] Start up of resource players cancelled by script [2012-06-07 08:03:54] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:54] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:54] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:54] Start up of resource sql cancelled by script [2012-06-07 08:03:54] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:54] Start up of resource interiors cancelled by script [2012-06-07 08:03:55] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:55] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:55] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:55] Start up of resource sql cancelled by script [2012-06-07 08:03:55] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:55] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 08:03:55] Start up of resource vehicles cancelled by script [2012-06-07 08:03:55] ERROR: Unable to connect to mysql: (1045) Access denied for user 'root'@'localhost' (using password: YES) [2012-06-07 08:03:55] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 08:03:55] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 08:03:55] Start up of resource sql cancelled by script
-
in acl : [2012-06-07 07:24:54] Resources: 30 loaded, 0 failed [2012-06-07 07:24:54] Querying game-monitor.com master server... unavailable! [2012-06-07 07:24:54] Querying backup master server... success! [2012-06-07 07:24:55] MODULE: Loaded "MySQL 5.0 database module" (0.50) by "Alberto Alonso <[email protected]>" [2012-06-07 07:24:55] MODULE: Loaded "SHA Module" (1.02) by "mabako" [2012-06-07 07:24:55] Starting resources..... [2012-06-07 07:24:55] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:55] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:55] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:55] Start up of resource sql cancelled by script [2012-06-07 07:24:55] ERROR: Unable to start resource sql; Start up of resource cancelled by script [2012-06-07 07:24:55] Start up of resource irc cancelled by script [2012-06-07 07:24:55] ERROR: Unable to start resource irc; Start up of resource cancelled by script [2012-06-07 07:24:56] WARNING: players/main.lua(Line 379) [server] setPedFrozen is deprecated and may not work in future versions. Please replace with setElementFrozen. [2012-06-07 07:24:56] Some files in 'players' use deprecated functions. [2012-06-07 07:24:56] Use the 'upgrade' command to perform a basic upgrade of resources. [2012-06-07 07:24:56] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:56] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:56] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:56] Start up of resource sql cancelled by script [2012-06-07 07:24:56] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:56] Start up of resource players cancelled by script [2012-06-07 07:24:56] ERROR: Unable to start resource players; Start up of resource cancelled by script [2012-06-07 07:24:56] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:56] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:56] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:56] Start up of resource sql cancelled by script [2012-06-07 07:24:56] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:56] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:56] Start up of resource vehicles cancelled by script [2012-06-07 07:24:56] ERROR: Unable to start resource vehicles; Start up of resource cancelled by script [2012-06-07 07:24:56] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:56] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:56] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:56] Start up of resource sql cancelled by script [2012-06-07 07:24:56] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:56] Start up of resource interiors cancelled by script [2012-06-07 07:24:56] ERROR: Unable to start resource interiors; Start up of resource cancelled by script [2012-06-07 07:24:56] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:56] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:56] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:56] Start up of resource sql cancelled by script [2012-06-07 07:24:56] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:56] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:56] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:56] Start up of resource sql cancelled by script [2012-06-07 07:24:56] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:56] Start up of resource players cancelled by script [2012-06-07 07:24:56] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:56] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:56] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:56] Start up of resource sql cancelled by script [2012-06-07 07:24:56] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:56] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:56] Start up of resource items cancelled by script [2012-06-07 07:24:56] ERROR: Unable to start resource items; Start up of resource cancelled by script [2012-06-07 07:24:56] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:56] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:56] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:56] Start up of resource sql cancelled by script [2012-06-07 07:24:56] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:56] Start up of resource players cancelled by script [2012-06-07 07:24:56] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:56] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:56] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:56] Start up of resource sql cancelled by script [2012-06-07 07:24:56] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:56] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:56] Start up of resource vehicles cancelled by script [2012-06-07 07:24:56] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:56] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:56] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:56] Start up of resource sql cancelled by script [2012-06-07 07:24:56] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:56] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:56] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:56] Start up of resource sql cancelled by script [2012-06-07 07:24:56] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:56] Start up of resource players cancelled by script [2012-06-07 07:24:56] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:56] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:56] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:56] Start up of resource sql cancelled by script [2012-06-07 07:24:56] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:56] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:56] Start up of resource items cancelled by script [2012-06-07 07:24:56] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:56] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:56] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:56] Start up of resource sql cancelled by script [2012-06-07 07:24:56] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:56] Start up of resource players cancelled by script [2012-06-07 07:24:56] WARNING: admin/player.lua(Line 225) [server] isPedFrozen is deprecated and may not work in future versions. Please replace with isElementFrozen. [2012-06-07 07:24:56] WARNING: admin/player.lua(Line 238) [server] setPedFrozen is deprecated and may not work in future versions. Please replace with setElementFrozen. [2012-06-07 07:24:56] WARNING: admin/player.lua(Line 241) [server] setVehicleFrozen is deprecated and may not work in future versions. Please replace with setElementFrozen. [2012-06-07 07:24:56] Some files in 'admin' use deprecated functions. [2012-06-07 07:24:56] Use the 'upgrade' command to perform a basic upgrade of resources. [2012-06-07 07:24:56] WARNING: shops/shop.lua(Line 57) [server] setPedFrozen is deprecated and may not work in future versions. Please replace with setElementFrozen. [2012-06-07 07:24:56] Some files in 'shops' use deprecated functions. [2012-06-07 07:24:56] Use the 'upgrade' command to perform a basic upgrade of resources. [2012-06-07 07:24:56] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:56] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:56] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:56] Start up of resource sql cancelled by script [2012-06-07 07:24:56] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:56] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:56] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:56] Start up of resource sql cancelled by script [2012-06-07 07:24:56] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:56] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:56] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:56] Start up of resource sql cancelled by script [2012-06-07 07:24:56] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:56] Start up of resource players cancelled by script [2012-06-07 07:24:56] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:56] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:56] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:56] Start up of resource sql cancelled by script [2012-06-07 07:24:56] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:56] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:56] Start up of resource items cancelled by script [2012-06-07 07:24:56] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:56] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:56] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:56] Start up of resource sql cancelled by script [2012-06-07 07:24:56] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:56] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:56] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:56] Start up of resource sql cancelled by script [2012-06-07 07:24:56] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:56] Start up of resource players cancelled by script [2012-06-07 07:24:56] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:56] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:56] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:56] Start up of resource sql cancelled by script [2012-06-07 07:24:57] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:57] Start up of resource shops cancelled by script [2012-06-07 07:24:57] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:57] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:57] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:57] Start up of resource sql cancelled by script [2012-06-07 07:24:57] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:57] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:57] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:57] Start up of resource sql cancelled by script [2012-06-07 07:24:57] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:57] Start up of resource players cancelled by script [2012-06-07 07:24:57] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:57] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:57] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:57] Start up of resource sql cancelled by script [2012-06-07 07:24:57] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:57] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:57] Start up of resource items cancelled by script [2012-06-07 07:24:57] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:57] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:57] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:57] Start up of resource sql cancelled by script [2012-06-07 07:24:57] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:57] Start up of resource players cancelled by script [2012-06-07 07:24:57] ERROR: Unable to start resource shops; Start up of resource cancelled by script [2012-06-07 07:24:57] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:57] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:57] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:57] Start up of resource sql cancelled by script [2012-06-07 07:24:57] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:57] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:57] Start up of resource vehicles cancelled by script [2012-06-07 07:24:57] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:57] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:57] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:57] Start up of resource sql cancelled by script [2012-06-07 07:24:57] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:57] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:57] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:57] Start up of resource sql cancelled by script [2012-06-07 07:24:57] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:57] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:57] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:57] Start up of resource sql cancelled by script [2012-06-07 07:24:57] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:57] Start up of resource players cancelled by script [2012-06-07 07:24:57] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:57] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:57] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:57] Start up of resource sql cancelled by script [2012-06-07 07:24:57] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:57] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:57] Start up of resource items cancelled by script [2012-06-07 07:24:57] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:57] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:57] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:57] Start up of resource sql cancelled by script [2012-06-07 07:24:57] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:57] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:57] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:57] Start up of resource sql cancelled by script [2012-06-07 07:24:57] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:57] Start up of resource players cancelled by script [2012-06-07 07:24:57] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:57] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:57] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:57] Start up of resource sql cancelled by script [2012-06-07 07:24:57] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:57] Start up of resource shops cancelled by script [2012-06-07 07:24:57] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:57] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:57] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:57] Start up of resource sql cancelled by script [2012-06-07 07:24:57] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:57] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:57] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:57] Start up of resource sql cancelled by script [2012-06-07 07:24:57] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:57] Start up of resource players cancelled by script [2012-06-07 07:24:57] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:57] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:57] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:57] Start up of resource sql cancelled by script [2012-06-07 07:24:57] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:57] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:57] Start up of resource items cancelled by script [2012-06-07 07:24:57] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:57] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:57] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:57] Start up of resource sql cancelled by script [2012-06-07 07:24:57] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:57] Start up of resource players cancelled by script [2012-06-07 07:24:57] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:57] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:57] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:57] Start up of resource sql cancelled by script [2012-06-07 07:24:57] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:57] Start up of resource interiors cancelled by script [2012-06-07 07:24:57] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:57] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:57] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:57] Start up of resource sql cancelled by script [2012-06-07 07:24:57] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:57] ERROR: exports: Call to non-running server resource (sql) [string "?"] [2012-06-07 07:24:57] Start up of resource vehicles cancelled by script [2012-06-07 07:24:57] ERROR: Unable to connect to mysql: (1045) Access denied for user 'ElMota'@'localhost' (using password: YES) [2012-06-07 07:24:57] ERROR: sql\mysql.lua:42: Connection to MySQL Failed. [2012-06-07 07:24:57] Server shutdown as requested by resource sql (MySQL failed to connect.) [2012-06-07 07:24:57] Start up of resource sql cancelled by script
-
Doesnt work e.e local server = get( "server" ) or "localhost" local user = get( "ElMota" ) or "root" local password = get( "*******" ) or "" local db = get( "elmota" ) or "mta" local port = get( "port" ) or 3306 local socket = get( "socket" ) or nil
-
I looked the video, ok , then , I need create a Database I created, but how I can get the name of it ?
-
I installed xampp D work 100% but I dont know how use localhost/phpmyadmin please help me
-
thank you x-shadow work, but now I cant remove a event ------------------------- ----Intro GUI------------ BI = {} BI[1] = guiCreateButton(0.3625,0.155,0.257,0.2817,"REGISTRARME",true) guiSetVisible(BI[1],false) guiSetAlpha(BI[1],0) BI[2] = guiCreateButton(0.3625,0.445,0.257,0.3367,"REGISTRARME",true) guiSetVisible(BI[2],false) guiSetAlpha(BI[2],0) function iGui() dxDrawText("Si Tienes una cuenta logeate aqui.",474.0,309.0,782.0,347.0,tocolor(255,255,255,255),1.0,"default","left","top",false,false,true) dxDrawText("Logearme",471.0,275.0,669.0,301.0,tocolor(255,255,255,255),1.0,"bankgothic","left","top",false,false,true) dxDrawRectangle(465.0,266.0,327.0,203.0,tocolor(0,0,0,180),false) dxDrawText("Si no tienes Cuenta puedes registrarte aqui.",471.0,125.0,714.0,141.0,tocolor(255,255,255,255),1.0,"default","left","top",false,false,true) dxDrawText("Registrarme",470.0,99.0,777.0,151.0,tocolor(255,255,255,255),0.7,"bankgothic","left","top",false,false,true) dxDrawRectangle(466.0,95.0,325.0,170.0,tocolor(0,0,0,180),false) dxDrawRectangle(465.0,94.0,328.0,376.0,tocolor(0,0,0,200),false) end addEventHandler("onClientResourceStart",getResourceRootElement(getThisResource()),function()addEventHandler("onClientRender",root, iGui) showCursor(true) guiSetVisible(BI[1],true) guiSetVisible(BI[2],true) triggerServerEvent("CameraAirport",getLocalPlayer()) end) addEventHandler("onClientGUIClick",root, function() if source == BI[1] then guiSetVisible(BI[1],false) guiSetVisible(BI[2],false) removeEventHandler("onClientRender",root, iGui) addEventHandler("onClientRender",root, RGui) guiSetVisible(BR[1],true) guiSetVisible(BR[2],true) guiSetVisible(BR[3],true) guiSetVisible(ER.U,true) guiSetVisible(ER.P,true) guiSetVisible(ER.CP,true) guiSetVisible(ER.S,true) elseif source == BI[2] then guiSetVisible(BI[1],false) guiSetVisible(BI[2],false) removeEventHandler("onClientRender",root, iGui) addEventHandler("onClientRender",root, lGui) guiSetVisible(BL[1],true) guiSetVisible(BL[2],true) guiSetVisible(EL.U,true) guiSetVisible(EL.P,true) elseif source == BR[3] then guiSetVisible(BI[1],true) guiSetVisible(BI[2],true) addEventHandler("onClientRender",root, iGui) removeEventHandler("onClientRender",root, RGui) guiSetVisible(BR[1],false) guiSetVisible(BR[2],false) guiSetVisible(BR[3],false) guiSetVisible(ER.U,false) guiSetVisible(ER.P,false) guiSetVisible(ER.CP,false) guiSetVisible(ER.S,false) elseif source == BL[2] then guiSetVisible(BI[1],true) guiSetVisible(BI[2],true) addEventHandler("onClientRender",root, iGui) removeEventHandler("onClientRender",root, lGui) guiSetVisible(BL[1],false) guiSetVisible(BL[2],false) guiSetVisible(EL.U,false) guiSetVisible(EL.P,false) end end ) ---------------------------------------------------------- --------------------------- -----Register GUI---------- BR = {} ER = {} BR[1] = guiCreateButton(0.357,0.575,0.093,0.0317,"IDS",true) guiSetVisible(BR[1],false) guiSetAlpha(BR[1],0) BR[2] = guiCreateButton(0.5461,0.6367,0.1008,0.03,"Registrarme",true) guiSetVisible(BR[2],false) guiSetAlpha(BR[2],0) BR[3] = guiCreateButton(0.3547,0.63,0.0781,0.04,"Atras",true) guiSetVisible(BR[3],false) guiSetAlpha(BR[3],0) ER.U = guiCreateEdit(0.3945,0.3483,0.107,0.0417,"",true) guiSetVisible(ER.U,false) ER.P = guiCreateEdit(0.4422,0.4067,0.107,0.0417,"",true) guiSetVisible(ER.P,false) ER.CP = guiCreateEdit(0.5109,0.455,0.107,0.0417,"",true) guiSetVisible(ER.CP,false) ER.S = guiCreateEdit(0.3992,0.5033,0.0734,0.04,"",true) guiSetVisible(ER.S,false) -- Direct X Drawing function RGui() dxDrawText("<- Volver",455.0,382.0,581.0,405.0,tocolor(255,255,255,255),0.6,"bankgothic","left","top",false,false,true) dxDrawRectangle(446.0,166.0,410.0,244.0,tocolor(0,0,0,200),false) dxDrawText("Registracion de Datos",448.0,167.0,708.0,187.0,tocolor(255,255,255,255),0.7,"bankgothic","left","top",false,false,true) dxDrawText("Nick",463.0,214.0,501.0,230.0,tocolor(255,255,255,255),0.5,"bankgothic","left","top",false,false,true) dxDrawText("Contraseña",463.0,248.0,563.0,264.0,tocolor(255,255,255,255),0.5,"bankgothic","left","top",false,false,true) dxDrawText("Confirmar Contraseña",462.0,276.0,649.0,291.0,tocolor(255,255,255,255),0.5,"bankgothic","left","top",false,false,true) dxDrawText("Skins",462.0,306.0,581.0,327.0,tocolor(255,255,255,255),0.5,"bankgothic","left","top",false,false,true) dxDrawText("Registrarme",702.0,383.0,825.0,401.0,tocolor(255,255,255,255),0.6,"bankgothic","left","top",false,false,true) end ---------------------------------------------------------------- ----------------------------- ---Login GUI----------------- BL = {} EL = {} BL[1] = guiCreateButton(0.4555,0.6033,0.1023,0.0433,"Logearme",true) guiSetVisible(BL[1],false) guiSetAlpha(BL[1],0) BL[2] = guiCreateButton(0.3508,0.5883,0.0742,0.0333,"ATRAS",true) guiSetVisible(BL[2],false) guiSetAlpha(BL[2],0) EL.U = guiCreateEdit(0.4375,0.405,0.1102,0.0433,"",true) guiSetVisible(EL.U,false) EL.P = guiCreateEdit(0.4375,0.4617,0.1102,0.0433,"",true) guiSetVisible(EL.P,false) -- Direct X Drawing function lGui() dxDrawText("<- Volver",447.0,355.0,541.0,372.0,tocolor(255,255,255,255),0.6,"bankgothic","left","top",false,false,true) dxDrawRectangle(445.0,184.0,274.0,210.0,tocolor(0,0,0,200),false) dxDrawText("Ventana de Logeo",448.0,187.0,690.0,223.0,tocolor(255,255,255,255),0.7,"bankgothic","left","top",false,false,true) dxDrawText("Nick",512.0,248.0,550.0,263.0,tocolor(255,255,255,255),0.6,"bankgothic","left","top",false,false,true) dxDrawText("Contraseña",460.0,280.0,560.0,304.0,tocolor(255,255,255,255),0.5,"bankgothic","left","top",false,false,true) dxDrawText("Logearme",587.0,364.0,714.0,390.0,tocolor(255,255,255,255),0.8,"bankgothic","left","top",false,false,true) end function clientSubmitLoginDX ( button, state ) if ( button == "left" and state == "up" ) then local username = guiGetText(EL.U) local password = guiGetText(EL.P) if ( username and password ) then triggerServerEvent("submitLoginDX", localPlayer, username, password) else outputChatBox("Porfavor pon tu Nick y tu Contrase?a.") end end end addEventHandler("onClientGUIClick", BL[1], clientSubmitLoginDX, false) function clientSubmitaccountDX ( button, state ) if ( button == "left" and state == "up" ) then local username = guiGetText(ER.U) local password = guiGetText(ER.P) local cpassword = guiGetText(ER.CP) if ( password == cpassword ) then if ( username and password ) then triggerServerEvent("addAccountDX", localPlayer, username, password, cpassword) elseif ( username == '' and username == nil and password == '' and password == nil and cpassword == '' and cpassword == nil ) then outputChatBox("Porfavor pon tu Nick y tu Contraseña.", localPlayer) elseif ( password ~= cpassword ) then outputChatBox("Porfavor pon tu Nick y tu Contraseña.", localPlayer) end end end end addEventHandler("onClientGUIClick", BR[2], clientSubmitaccountDX, false) ---------------------------------------------------------------- addEvent ( "closeLoginDX", true ) addEventHandler ( "closeLoginDX", root, function ( ) removeEventHandler("onClientRender",root, lGui) showCursor ( false ) guiSetVisible(BL[1],false) guiSetVisible(BL[2],false) guiSetVisible(EL.U,false) guiSetVisible(EL.P,false) addEventHandler("onClientRender",root,DXI) end ) function DXI() dxDrawText("Bienvenido!, Bueno te hare una pequeña introduccion al server, hay trabajos, dinero, fiestas, y mucho mas !",272.0,522.0,1176.0,551.0,tocolor(255,255,255,255),0.5,"bankgothic","left","top",false,false,false) dxDrawText("Hola "..getPlayerName( localPlayer ).." yo sere tu Guia por esta larga travesia",272.0,495.0,1232.0,521.0,tocolor(255,255,255,255),0.7,"bankgothic","left","top",false,false,false) end setTimer( function() removeEventHandler("onClientRender",root,DXI) end,6000, 1) addEvent ( "openLoginDX", true ) addEventHandler ( "openLoginDX", root, function ( ) addEventHandler("onClientRender",root, lGui) guiSetVisible(BL[1],true) guiSetVisible(BL[2],true) guiSetVisible(EL.U,true) guiSetVisible(EL.P,true) removeEventHandler("onClientRender",root,RGui) guiSetVisible(BR[1],false) guiSetVisible(BR[2],false) guiSetVisible(BR[3],false) guiSetVisible(ER.U,false) guiSetVisible(ER.P,false) guiSetVisible(ER.CP,false) guiSetVisible(ER.S,false) setElementModel(localPlayer, (tonumber(guiGetText(ER.S)))) end )
-
Im doing a Dx Login Register for my server but I dont know how save the skin choose for the player here the codes cl-side ------------------------- ----Intro GUI------------ BI = {} BI[1] = guiCreateButton(0.3625,0.155,0.257,0.2817,"REGISTRARME",true) guiSetVisible(BI[1],false) guiSetAlpha(BI[1],0) BI[2] = guiCreateButton(0.3625,0.445,0.257,0.3367,"REGISTRARME",true) guiSetVisible(BI[2],false) guiSetAlpha(BI[2],0) function iGui() dxDrawText("Si Tienes una cuenta logeate aqui.",474.0,309.0,782.0,347.0,tocolor(255,255,255,255),1.0,"default","left","top",false,false,true) dxDrawText("Logearme",471.0,275.0,669.0,301.0,tocolor(255,255,255,255),1.0,"bankgothic","left","top",false,false,true) dxDrawRectangle(465.0,266.0,327.0,203.0,tocolor(0,0,0,180),false) dxDrawText("Si no tienes Cuenta puedes registrarte aqui.",471.0,125.0,714.0,141.0,tocolor(255,255,255,255),1.0,"default","left","top",false,false,true) dxDrawText("Registrarme",470.0,99.0,777.0,151.0,tocolor(255,255,255,255),0.7,"bankgothic","left","top",false,false,true) dxDrawRectangle(466.0,95.0,325.0,170.0,tocolor(0,0,0,180),false) dxDrawRectangle(465.0,94.0,328.0,376.0,tocolor(0,0,0,200),false) end addEventHandler("onClientResourceStart",getResourceRootElement(getThisResource()),function()addEventHandler("onClientRender",root, iGui) showCursor(true) guiSetVisible(BI[1],true) guiSetVisible(BI[2],true) triggerServerEvent("CameraAirport",getLocalPlayer()) end) addEventHandler("onClientGUIClick",root, function() if source == BI[1] then guiSetVisible(BI[1],false) guiSetVisible(BI[2],false) removeEventHandler("onClientRender",root, iGui) addEventHandler("onClientRender",root, RGui) guiSetVisible(BR[1],true) guiSetVisible(BR[2],true) guiSetVisible(BR[3],true) guiSetVisible(ER.U,true) guiSetVisible(ER.P,true) guiSetVisible(ER.CP,true) guiSetVisible(ER.S,true) elseif source == BI[2] then guiSetVisible(BI[1],false) guiSetVisible(BI[2],false) removeEventHandler("onClientRender",root, iGui) addEventHandler("onClientRender",root, lGui) guiSetVisible(BL[1],true) guiSetVisible(BL[2],true) guiSetVisible(EL.U,true) guiSetVisible(EL.P,true) elseif source == BR[3] then guiSetVisible(BI[1],true) guiSetVisible(BI[2],true) addEventHandler("onClientRender",root, iGui) removeEventHandler("onClientRender",root, RGui) guiSetVisible(BR[1],false) guiSetVisible(BR[2],false) guiSetVisible(BR[3],false) guiSetVisible(ER.U,false) guiSetVisible(ER.P,false) guiSetVisible(ER.CP,false) guiSetVisible(ER.S,false) elseif source == BL[2] then guiSetVisible(BI[1],true) guiSetVisible(BI[2],true) addEventHandler("onClientRender",root, iGui) removeEventHandler("onClientRender",root, lGui) guiSetVisible(BL[1],false) guiSetVisible(BL[2],false) guiSetVisible(EL.U,false) guiSetVisible(EL.P,false) end end ) ---------------------------------------------------------- --------------------------- -----Register GUI---------- BR = {} ER = {} BR[1] = guiCreateButton(0.357,0.575,0.093,0.0317,"IDS",true) guiSetVisible(BR[1],false) guiSetAlpha(BR[1],0) BR[2] = guiCreateButton(0.5461,0.6367,0.1008,0.03,"Registrarme",true) guiSetVisible(BR[2],false) guiSetAlpha(BR[2],0) BR[3] = guiCreateButton(0.3547,0.63,0.0781,0.04,"Atras",true) guiSetVisible(BR[3],false) guiSetAlpha(BR[3],0) ER.U = guiCreateEdit(0.3945,0.3483,0.107,0.0417,"",true) guiSetVisible(ER.U,false) ER.P = guiCreateEdit(0.4422,0.4067,0.107,0.0417,"",true) guiSetVisible(ER.P,false) ER.CP = guiCreateEdit(0.5109,0.455,0.107,0.0417,"",true) guiSetVisible(ER.CP,false) ER.S = guiCreateEdit(0.3992,0.5033,0.0734,0.04,"",true) guiSetVisible(ER.S,false) -- Direct X Drawing function RGui() dxDrawText("<- Volver",455.0,382.0,581.0,405.0,tocolor(255,255,255,255),0.6,"bankgothic","left","top",false,false,true) dxDrawRectangle(446.0,166.0,410.0,244.0,tocolor(0,0,0,200),false) dxDrawText("Registracion de Datos",448.0,167.0,708.0,187.0,tocolor(255,255,255,255),0.7,"bankgothic","left","top",false,false,true) dxDrawText("Nick",463.0,214.0,501.0,230.0,tocolor(255,255,255,255),0.5,"bankgothic","left","top",false,false,true) dxDrawText("Contraseña",463.0,248.0,563.0,264.0,tocolor(255,255,255,255),0.5,"bankgothic","left","top",false,false,true) dxDrawText("Confirmar Contraseña",462.0,276.0,649.0,291.0,tocolor(255,255,255,255),0.5,"bankgothic","left","top",false,false,true) dxDrawText("Skins",462.0,306.0,581.0,327.0,tocolor(255,255,255,255),0.5,"bankgothic","left","top",false,false,true) dxDrawText("Registrarme",702.0,383.0,825.0,401.0,tocolor(255,255,255,255),0.6,"bankgothic","left","top",false,false,true) end ---------------------------------------------------------------- ----------------------------- ---Login GUI----------------- BL = {} EL = {} BL[1] = guiCreateButton(0.4555,0.6033,0.1023,0.0433,"Logearme",true) guiSetVisible(BL[1],false) guiSetAlpha(BL[1],0) BL[2] = guiCreateButton(0.3508,0.5883,0.0742,0.0333,"ATRAS",true) guiSetVisible(BL[2],false) guiSetAlpha(BL[2],0) EL.U = guiCreateEdit(0.4375,0.405,0.1102,0.0433,"",true) guiSetVisible(EL.U,false) EL.P = guiCreateEdit(0.4375,0.4617,0.1102,0.0433,"",true) guiSetVisible(EL.P,false) -- Direct X Drawing function lGui() dxDrawText("<- Volver",447.0,355.0,541.0,372.0,tocolor(255,255,255,255),0.6,"bankgothic","left","top",false,false,true) dxDrawRectangle(445.0,184.0,274.0,210.0,tocolor(0,0,0,200),false) dxDrawText("Ventana de Logeo",448.0,187.0,690.0,223.0,tocolor(255,255,255,255),0.7,"bankgothic","left","top",false,false,true) dxDrawText("Nick",512.0,248.0,550.0,263.0,tocolor(255,255,255,255),0.6,"bankgothic","left","top",false,false,true) dxDrawText("Contraseña",460.0,280.0,560.0,304.0,tocolor(255,255,255,255),0.5,"bankgothic","left","top",false,false,true) dxDrawText("Logearme",587.0,364.0,714.0,390.0,tocolor(255,255,255,255),0.8,"bankgothic","left","top",false,false,true) end function clientSubmitLoginDX ( button, state ) if ( button == "left" and state == "up" ) then local username = guiGetText(EL.U) local password = guiGetText(EL.P) if ( username and password ) then triggerServerEvent("submitLoginDX", localPlayer, username, password) else outputChatBox("Porfavor pon tu Nick y tu Contrase?a.") end end end addEventHandler("onClientGUIClick", BL[1], clientSubmitLoginDX, false) function clientSubmitaccountDX ( button, state ) if ( button == "left" and state == "up" ) then local username = guiGetText(ER.U) local password = guiGetText(ER.P) local cpassword = guiGetText(ER.CP) if ( password == cpassword ) then if ( username and password ) then triggerServerEvent("addAccountDX", localPlayer, username, password, cpassword) elseif ( username == '' and username == nil and password == '' and password == nil and cpassword == '' and cpassword == nil ) then outputChatBox("Porfavor pon tu Nick y tu Contraseña.", localPlayer) elseif ( password ~= cpassword ) then outputChatBox("Porfavor pon tu Nick y tu Contraseña.", localPlayer) end end end end addEventHandler("onClientGUIClick", BR[2], clientSubmitaccountDX, false) ---------------------------------------------------------------- addEvent ( "closeLoginDX", true ) addEventHandler ( "closeLoginDX", root, function ( ) removeEventHandler("onClientRender",root, lGui) showCursor ( false ) guiSetVisible(BL[1],false) guiSetVisible(BL[2],false) guiSetVisible(EL.U,false) guiSetVisible(EL.P,false) end ) addEvent ( "openLoginDX", true ) addEventHandler ( "openLoginDX", root, function ( ) addEventHandler("onClientRender",root, lGui) guiSetVisible(BL[1],false) guiSetVisible(BL[2],false) guiSetVisible(EL.U,false) guiSetVisible(EL.P,false) removeEventHandler("onClientRender",root,RGui) guiSetVisible(BR[1],false) guiSetVisible(BR[2],false) guiSetVisible(BR[3],false) guiSetVisible(ER.U,false) guiSetVisible(ER.P,false) guiSetVisible(ER.CP,false) end ) sv-side addEvent("CameraAirport",true) addEventHandler("CameraAirport",getRootElement(), function() fadeCamera( source, true) setCameraMatrix(source, -1498.1424560547, -382.80834960938, 40.345268249512, -1415.830078125, -294.80749511719, 14.1484375) end ) function loginHandlerDX(username,password) local acc = getAccount(username, password) if (acc) then logIn ( source, acc, password ) fadeCamera(source, true) setCameraTarget(source) triggerClientEvent ( source, "closeLoginDX", source ) outputChatBox("Enjoy your time!", source) else outputChatBox("invalid username and password. Please re-connect and try again.", source) end end addEvent("submitLoginDX",true) addEventHandler("submitLoginDX",root, loginHandlerDX) function registerPlayerDX ( username, password, cpassword ) if ( password ~= "" and password ~= nil and username ~= "" and username ~= nil and cpassword ~="" and cpassword ~= nil ) then if ( not getAccount ( username ) ) then local accountAdded = addAccount ( username, password ) if ( accountAdded ) then outputChatBox ( "Gracias " .. getPlayerName ( source ) .. ", Ya estas Registrado ahora loggeate", source ) triggerClientEvent ( source, "openLoginDX", source ) else outputChatBox ( "Error creando la Cuenta por Favor contacta a un Admin.", source ) end else outputChatBox ( "Esta Cuenta Ya Existe..", source ) end else outputChatBox ( "Porfavor Pon tus datos Correctos.", source ) end end addEvent("addAccountDX", true) addEventHandler("addAccountDX", root, registerPlayerDX) thank in advanced
-
debug problem ?
-
ya hize eso pero me sigue dando bad argument setElementModel
-
bad argument set element model
-
tomitza i dont know how do it because in the xampp when I press admin in my navegator I go to localhost/phpmyadmin, But appear : it web doesnt exist , and myonlake localhost doesnt exist :c Here a Image Click Here !
-
then Where I can get it information ? please help me
-
Soren si postearas tu codigo... alguien podria ayudarte ._.
-
I Opened the xampp but the console again close
-
Ok, then Anyone can help me please ?
-
soren talvez esto funcione. getVehicleModelFromName(guiGridListGetItemText (lista, seleccion, columna))
-
IT WORK ? $mysql_host = "mysql6.000webhost.com"; $mysql_database = "a9108092_MTA"; $mysql_user = "a9108092_ElMota"; $mysql_password = "PROTECT";
-
Ok Ok but, where I can find the username and the password ? I have XAMPP installed
-
RedField Comp.