Jump to content

#Just_Me

Members
  • Posts

    60
  • Joined

  • Last visited

Everything posted by #Just_Me

  1. IIYAMA no it's for public .. yes it's more than math i know that ... it can run codes and a lot of stuff .. it needs some changes in it to be good to use .. thank you
  2. yes thanks .. your way i already know it but .. what i need is to do it in Edit .. like i'm typing 5 * 5 in the edit and there is a button to get the results of this equation i entered but thanks .. this function helped me .. string.match
  3. hello guys, How to multiplying two numbers within a single text. ? for example: 5 * 5 = 25 like in one Edit only, and then i get the results by pressing Get Results and the equation Solved ? help please
  4. hello guys what is this error ? BASS ERROR 2 in LoadMedia note: i putted every file in the meta and everything is well but still showing that error on console .. so help ..
  5. Arsilex Thank you very much. also .. Bonsai thanks for trying to help me ..
  6. hello guys .. i have a little question .. is how to make the peds when i create one to be spawned on the ground .. even when i'm on the air .. like if i up in the air .. and created the ped .. on my current position.. if the current position was on the air .. the ped'll be spawned on the ground .. not in the air ..
  7. Solved .. i found out another way ... thanks all.
  8. no i checked the database if that number wasn't there or something like that but the number was already there .. but the problem is it still doesn't working correctly it keeps repeating the Non-Valid number as Valid number i don't know why ..
  9. that didn't work too # same problem repeating the first valid number if the valid number that shows to me has been taken it still a valid number .. like 2 if it's no longer valid it will show up again 2
  10. uhmm .. i mean is there a way with codes ? like the code above ?
  11. hello guys .. i was trying to make a mod that depends on the ID like i want when i create a vehicle .. it have its own id .. and this id be saved on SQL so what i was trying to do is to check if there is a vlid id number to put it on the next vehicle that will be created. like if i created a vehicle lets say the id will be: 1 so if i created another vehicle the id will be: 2 but if i removed the first vehicle and created a new one the id will be: 1 cause it's a valid number on the SQL .. so i did it like that but the problem it gets the first valid number like if i repeated this code again lets say the valid id number was: 10 so if i repeated the code again to check for a valid numbers it will be: 10 i don't know what's wrong with it. My codes: function getValidID () local id = 0 for k,v in ipairs (getDatas ()) do if tonumber (v.ID) ~= k then id = k break else id = #getDatas () + 1 end end return id end function getDatas () local poll = dbQuery (db, "SELECT * FROM Vehicles") local data = dbPoll (poll, -1) if (type (data) == "table" and #data == 0) or not data then return { } else return data end end
  12. you didn't understand me i want to cancel it .. how to stop camera shaking if there is an explosion ? and not to fly away when there is an explosion ? all of that i want to cancel .. how to do that ?
  13. hello guys ..can i add a collision to an explosion ? like not to fly away or .. camera shaking .. can i do that ?
  14. how can i disable specific sound is there other function ? cause i don't know
  15. hello guys, how can i make the sound of the reloading not turned off when i use this function setWorldSoundEnabled ? cause i've noticed that there is a sounds are turned off some of them turned off when using the sound id 5 which is for weapons group but when i use it the punch sound turned off and the reloading sound turned off .. etc so how can i make it only for the weapons, without the reloading sound and the punch sound .. etc, with them ?
  16. nah i want the number of the commas or the points in the numbers like this 1.000.000 the number of the points are 2 i want some help to get it by a code not making a points or commas i need to get them
  17. hello guys i have a question which is how can i get the number of the commas or the points ? i mean like this: 1.000.000 the points are 2 or 1,000,000 the commas are 2 how can i get those by using string.find ?
  18. oh that's a nice one thank you for help.
  19. well, this is not what happend to me i used it but the collisions not the same #
  20. hello guys .. i have an object which is small and i've used "setObjectScale" it works just fine but the problem is that there are some places you can pass through. not like what it was before using "setObjectScale" so is there anyway i can make it like what it was before, even when i use "setObjectScale" ?
×
×
  • Create New...