Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 24/08/21 in all areas

  1. You could use callbacks to avoid that an example from the wiki: local dbConnection = dbConnect("sqlite", "sql.db") function onServerCallback(queryHandler, extraData) local queryResult = dbPoll(queryHandler, 0) print(extraData) if type(queryResult) == "table" then print("queryResult == table") if #queryResult > 0 then print("#queryResult > 0") else print("#queryResult == 0") end else print("queryResult ~= table") end end dbQuery(onServerCallback, {"Extra data :)"}, dbConnection, "SELECT * FROM `Players` WHERE `playerName` = ?", "playerName")
    2 points
  2. combine it with zombieHealth here's how triggerClientEvent(source, "add:notification", source, "bot hp: "..zombieHealth, "info", true)
    1 point
  3. There is a typo in your code, change it like this You are passing getElementData to the parameter completely as a string local zombieHealth = tostring(getElementData(zomb, "blood")) triggerClientEvent(source, "add:notification", source, zombieHealth, "info", true)
    1 point
  4. That's interesting. I would have guessed it was caused by MTA. There's a bug report about this issue here: https://github.com/multitheftauto/mtasa-blue/issues/1326 It's an old bug and even though it's only visual it's really annoying and happens on a lot of servers (also without peds) If anyone has information about it feel free to add!
    1 point
  5. yo tengo todo completo perri con Subwoofers, woofers, medios, tweeters, drivers y drivers grafitados (con dibujos del wason y todo eso), cajones vacios y armados, neones de todos colores prenden cuando el server esta de noche y se puede poner muchas mas cosas lo armo a pedido al Panel-Accesorios hablame al 3412124388
    1 point
  6. ?. Сделайте скриншот, если есть такая возможность.
    0 points
×
×
  • Create New...