Jump to content

..:D&G:..

Members
  • Posts

    1,028
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by ..:D&G:..

  1. The first 4 from that topic, and then the normal steps (I deleted the folder and did the steps again)
  2. The script was made to work for any gamemode and also for a custom hud I want to make it save in mysql for example, but I cannot do that as it's compiled
  3. People can compile them themselves after they edited them as they wanted. For example I cannot use the script because I cannot configure it with my gamemode
  4. It's cool but eh... Why did you compile it if you wanted to release it?
  5. [quote name=..&G:..]I followed all the steps and I get a different error: Anyone any ideas what's with this error?
  6. You shouldn't delete the code Maybe someone else would find it usefull... If you don't want your code to be seen by everyone, you should of not asked for help in a public forum...
  7. Eu unul nu ma bucur sa vad orice individ ca isi deschide o copie a unui server de roleplay pentru donatii
  8. We are not allowed to help people with leaked scripts! Go and read the rules, you are not allowed to ask for help with leaked scripts.
  9. I followed all the steps and I get a different error:
  10. If you want I can share the whole gamemode with you. I really need this fixed
  11. Hello guys, I am trying to make a server on my CentOS vps but I get the following errors: Anyone know what's wrong and how to fix it? Thank you.
  12. This is the last piece of code that has anything to do with the lobby (as far as I can see) Thanks for helping me btw.
  13. Here: function LobbyManager:DoCreateLobby(player, ...) local bool = self:AddLobby(Lobby:New(player, ...)); --local bool = self:AddLobby(Lobby:Constructor(player, ...)); if(bool) then player:ShowMessageBox(player:GetLanguage().messagebox.newgame.sucessTitle, player:GetLanguage().messagebox.newgame.sucessMessage, strings.messagebox.newgame.sucessButton, "sucess", false) end end
  14. Hello guys, I never got this error and dunno what it's about. Table index is nil for the next function: function LobbyManager:AddLobby(lobby) if(self.lobbys[lobby]) then error("Lobby "..lobby.name.." already in the manager") else self.lobbys[lobby] = lobby; -- < This line end return true; end Any ideas what's wrong? Thank you
  15. Anyone? Anyway to have mysql_free_result but in SQLite?
  16. You are triggering a server side function: setTimer(triggerServerEvent, 700, 1, "setPedAnimation", localPlayer, "CHAINSAW", "WEAPON_csaw", true) Make sure you have that "setPedAnimation function if you want to use a function made by you. If not, just use setPedAnimation without triggering it. (Use wiki example if you don't know how)
  17. And how can I make an unique id for every new slot machine spawned? Or how can I do something like this? : local result = mysqlscr:query("SELECT id, x, y, z, rotation, interior, dimension FROM cows" ) local row = mysqlscr:fetch_assoc(result) if not row then break end animals = {} --local s = #animals+1 local id = tonumber( row["id"] )
  18. Still doesn't show me any message in the chat box Your query is always false. So your "if id then" will never actually pass. What should I do then instead of "if id then"? I am used to MySQL, and that's what I do in MySQL, never tried saving data in SQLite
  19. Using outputChatBox it doesn't return anything, any other ways I can check? It also looks like the machines spawn when I restart the script but they do not appear.
  20. Finally Thanks! I would also like to ask why I don't get the "Slot Machine created with ID" message. Is it maybe because for the element data "dbid" I get it to be boolean? How can I fix it if so?
  21. Same error, here is a picture of the error: And the new code:
×
×
  • Create New...