Jump to content

keymetaphore

Members
  • Posts

    175
  • Joined

  • Last visited

Everything posted by keymetaphore

  1. Most likely that's an issue with permissions. Can you try to chmod the folder recursively in filezilla (right click) and set it to 755? @BurN ✸
  2. What is the problem? Any errors?
  3. dbExec( dbSecurityConnection, ' UPDATE `Test` SET `m9cko`=? ', m9cko )
  4. Show what you tried.
  5. Why would you do that? To execute code clientside, it does have to go to the client' computer, that's how networking works. Focus on serverside code and try to put everything there, leaving clientside only for clientside code. You can make it hard but you can never make it impossible.
  6. Retrieve the information from database and use givePlayerMoney to award it.
  7. Hey there folks. This is part of leaked code from the Owlgaming script and no support for it is provided. Cheers.
  8. keymetaphore

    [HELP PLEASE]

    That's an easy fix. You don't have to concatenate the end of the string if it's not followed by anything. function ad (msg) outputChatBox ( "#fbe0ff[Hiradó]: " .. msg, getRootElement(), 255, 255, 255, true ) end addCommandHandler ("hirado", ad) This will work. If you want to continue the string after msg, here's how it would look: function ad (msg) outputChatBox ( "#fbe0ff[Hiradó]: " .. msg .. " and yeah", getRootElement(), 255, 255, 255, true ) end addCommandHandler ("hirado", ad)
  9. With the code you supplied you are showing a bad example. If you have further questions bring this up in PMs.
  10. Please view the article formatting code and indent your code properly, I don't think this belongs in scripting support section.
  11. What do you mean? Downloading a database especially for a web client connection on every page visit? Not gonna work.
  12. Hey. I was about to make a UCP for an upcoming project but figured out that it doesn't use mysql to save all the data like everything I have used does it. So I got a question, how do I access both the login info and data saved with setAccountData from web? I figured out that I can try to make a call to the server from web using the SDK, but how would I go with accessing the data inside the login database?
  13. Sorry but I am extremely late for the media. It was pretty hard arranging the times so we can take some, and these are some basic screenshots. A video of a full scenario coming up soon! Also, please mind my name, when starting a match, every player gets assigned a RP name, also known as fake name and I created a function where you can set a permanent one. I got original.
  14. The server is based on Owlgaming leak. What didn't you understand?
  15. Police Pursuits of San Andreas - Cops and Robbers that someone took way too far Police Pursuits of San Andreas is a project made by two developers. It combines roleplay with cops and robbers in a way that is appealing to players and doesn't bore people after a few matches. When a match players, one to two players are chosen to be suspects, the rest are police officers. The suspect is usually wanted for X crime that gets announced to police officers through dispatch. Police officers respond to the location of the suspect and play it out. You have a suspect, you have a crime, the following is up to you. The suspect MAY or MAY NOT be armed. Efficient code that ensures a lag free and non-interrupted gameplay is one of the key features we are looking to achieve. The server won't have no ugly looking car mods or cop car handlings that turn your car into a NASA rocket in a city. The gamemode is completely made from scratch without using other code to ensure the best quality of the project. A match lasts 7 minutes or until suspects are either killed or apprehended. Officers are equipped with technology that is seen in real life police departments. Tasers, spikestrips, roadblocks, air units, you name it. Advanced suspects have some advanced technologies that makes them tougher. Media to be added in the upcoming few hours. We are still in development, however, we would be happy to see you in our Discord server where you can see live progress from our Github repo! Stay in touch and talk with us! https://discordapp.com/invite/mCbRRWg keymetaphore: Syncer#1290; Sergeant: Sergeant#9828
  16. He's right. Your best beat is to clear chat right after login.;
  17. Still waiting on the screenshots.
  18. Just spotted another error. Well, the first argument of addEvent() is obviously the event name, the second one is allowRemoteTrigger, which basically allows it to be triggered remotely, from other files or resources, you should always keep it true unless for security reasons. The third argument is not necessary and shall be removed.
  19. function sendPedVoices() triggerClientEvent(source, "applyVoicesClient", resourceRoot, ballas1, ballas2, ballas3, ballas4, ballas5) outputChatBox ( "#FF0000zzzzzz", source, 231, 217, 176, true ) end addEvent("sendPedVoices", true, true) addEventHandler("sendPedVoices", resourceRoot, sendPedVoices) -- <<<<< attatched to root function requestVoices() triggerServerEvent ( "sendPedVoices", resourceRoot) end
  20. function setPedVoices(ballas1, ballas2, ballas3, ballas4, ballas5) setPedVoice ( ballas1, "PED_TYPE_GANG", "VOICE_GNG_BALLAS1" ) setPedVoice ( ballas2, "PED_TYPE_GANG", "VOICE_GNG_BALLAS2" ) setPedVoice ( ballas3, "PED_TYPE_GANG", "VOICE_GNG_BALLAS3" ) setPedVoice ( ballas4, "PED_TYPE_GANG", "VOICE_GNG_BALLAS4" ) setPedVoice ( ballas5, "PED_TYPE_GANG", "VOICE_GNG_BALLAS5" ) end addEvent("applyVoicesClient", true, true) addEventHandler("applyVoicesClient", resourceRoot, setPedVoices) -- Changed to resourceRoot, this will do the trick.  function requestVoices() triggerServerEvent ( "sendPedVoices", localPlayer) end addEventHandler("onClientResourceStart", resourceRoot, requestVoices)
  21. You just posted a script and the topic was against the guidelines, you didn't write whats wrong or what errors do you have. What do you expect?
  22. What issues are you facing? Reading the whole script is honestly messy if you don't even know what's wrong.
  23. I see your server in the master list, where's the issue? It might take a minute or two to update, but it is working for me.
×
×
  • Create New...