-
Posts
877 -
Joined
-
Last visited
Everything posted by denny199
-
It's 'resource' you typed reurce
-
Check if result is empty instead of this: if num_rows >= 1 then
-
local result,num_rows = dbPoll(query,-1) What does result return? Output it
-
What does the result returns? What does num_rows return? Is num_rows really 0?
-
Not the nicest way but: Make a loop from 0 to 46 and use getWeaponNameFromID for every index. https://wiki.multitheftauto.com/wiki/Ge ... NameFromID
-
onVehicleStartEnter has four function variables (as wiki says): enteringPlayer: A player element representing the player who is starting to enter a vehicle seat: An integer representing the seat in which the player is entering jacked: A player element representing who is going to be jacked door: An integer of which door the player used (0-3). 0 is driver side door, 1 is front passenger, 2 is back left, 3 is back right. Make a check for the door, if the door = 0 then check for it if not return true. More information: https://wiki.multitheftauto.com/wiki/On ... StartEnter
-
You should use setPedStat. Use https://wiki.multitheftauto.com/wiki/SetPedStat ( 73: WEAPONTYPE_SAWNOFF_SHOTGUN_SKILL ) More information for weapon skill levels: https://wiki.multitheftauto.com/wiki/We ... ill_levels
-
Take a look at this function: function convertNumber ( number ) local formatted = number while true do formatted, k = string.gsub(formatted, "^(-?%d+)(%d%d%d)", '%1,%2') if ( k==0 ) then break end end return formatted end More information here: https://wiki.multitheftauto.com/wiki/ConvertNumber
-
The error says it all, on line 362, the variable 'interiors' is nil, so not a table. What does local interiors = exports["house-interiors"].getInteriorsList() return?
-
Lololol, nobody will beat me
-
k. $result = curl_exec($ch); $info = curl_getinfo($ch); curl_close($ch); echo $result; $json = json_decode($result,true); if($json) { echo $json['text_block']; } k Bye
-
FatalTerror actually posted his source on the forums https://forum.multitheftauto.com/viewtopic.php?f ... t=mail+php Anyways, don't feel hated by some of people their comments, it's just criticism right? Just go on with your things that you are enjoying the most. Alltrough it ain't criticism anymore what these guys are saying, it's just retardisme, they think that they know better, just let them in their value and don't give a cr*p at them. You should maybe extend it by adding some security options to the PHP file, because when a server uses this resource it will be abuseable by people who got the php file link. (if they find it)
-
A: Well, go think about a proper question Q: Do you still enjoy playing MTA?
-
Wow, dat insult. http://www.speedtest.net/my-result/3929490404
-
A:Why are you asking that? Q: Is it me or is mta getting boring?
-
Can I use this map to create a funny gamemode? I'm just bored.
-
Daar leren ze als goed is geen lua. Dus nee, voornamelijk zelfstudie. Sorry om de droom te verknallen, op een ICT opleiding leer je geen programmeertaal. Je leert documentatie maken ivm nieuwe projecten ( advies rapport, oriëntatie, definitie, plan van aanpak, functioneel ontwerp, technisch ontwerp ). Als je echt wilt leren programmeren / scripten; Ga het zelf leren, blijf van die scheve opleidingen alsjeblieft af. Ik heb de zelfde stomme fout gemaakt en heb 4 jaar van mijn leven weggegooid... Dit is gewoon het beste om mee te beginnen. Dan heb je volgens mij de verkeerde school gevonden, ik kan kiezen waarin ik verder wil gaan, in netwerkbeheerder of AO (Applicatie ontwikkelaar). Ik zit ATM in de eerst jaar, dus ik heb niet volle uren waarbij ik programmeren leer (voornamelijk leer ik nu javascript, html, css, php). Lua leer je niet zo zeer op school omdat er geen serieuze vraag is naar mensen die Lua kennen. Ik begon ong. 3 jaar geleden met simpele codes aan te passen en te begrijpen wat het deed, je moet gewoon even gezond verstand gebruiken en weten hoe een code nou precies inelkaar zit, wat gebeurt er als ik dit invoer, wat gebeurt er als ik dat invoer. En als je ergens niet uitkomt kan je altijd hier op de forums terecht voor hulp.
-
I'm failed at exams once, I did the year over on another school. What would you do if you get raped by a milf?
-
A: Well, I would grab a beer, and sit there for a while watching, and then i'll stand up and then i'll fuck her right in the pussy. Q: How can I make you mad?
-
A: Bone County Q: Super nintendo or Wii?
