-
Posts
451 -
Joined
-
Last visited
Everything posted by AhmadQTR
-
SpectralHosting | Affordable game server hosting.
AhmadQTR replied to SpectralHosting's topic in Hosting solutions
Is there any test servers? so we can test the speed? -
Well i just know that 'local' defines something like local playername = getPlayerName (source) -- gets the player name local root = getRootElement() --gets root element function output () outputChatBox ( playername.."Has Joined the server!", root, 255, 255, 100, true ) end addEventHandler ( "onPlayerJoin", root, output )
-
You can read the recommended manuals and trust me , you will be a good scripter if you kept reading lua manuals, no one will help you , you must help yourself.
-
He said you didn't defined the Player
-
You can't you must make ddos protection ( I think you can buy one or there is free )
-
You can check CrystalMV resources page. http://crystalmv.net84.net/pages/scripts.php
-
Replacing a car bodikit + Replacing rims
AhmadQTR replied to DeletedAccount1111's topic in Scripting
I just know this ^ Since this is a client script so function replace () outputChatBox ( "> replacing the euros vehicle" ) txd = engineLoadTXD ( "data/euros.txd" ) engineImportTXD ( txd, 587 ) dff = engineLoadDFF ( "data/euros.dff", 587 ) engineReplaceModel ( dff, 587 ) addEventHandler ( "onClientResourceStart", replace ) -
Already reported. Didn't saw that someone reported it before me.
-
Table = { 'MJNONFIK', 'MR.S3D', '3ɑsн8 ɑʟsнɾq', 'ρяєsτɪɢє', 'TaLaL', 'jafar', 'SoRa', 'T9', 'nony', '|Mr|-Talal07-|', '1bmnx', '3ήẰÐ', 'α7мα∂qтя', '14', }
-
It's legal but some people ddos you (Like Multi Theft Auto RP) idk how , you must do a ddos protection
-
MOD : https://community.multitheftauto.com/index.php?p=resources&s=details&id=6047 DONE
-
I have no idea your talking about what , can you take some pic's of it? please.
-
Nothing is wrong. It doesn't load the files yet. I have to rewrite this part. I'll be adding Lua syntax checker next and then probably the functions on the right. I simply don't want to do too much at once because there is higher possibility that there will be bugs undiscovered by me.
-
كود عناد بس مغير الاسماء الله يصلحك
-
-- Client Side addEvent ( "wave", true ) addEventHandler ( "wave", root, function ( thePed ) setPedAnimation ( thePed, "BD_GF_Wave", true ) outputChatBox ( "stop its check point", 255, 255, 0, true ) function ( ) x, y, z = getElementPosition ( localPlayer ) setPedAimTarget ( thePed, x, y, z ) end , 100, 0 ) setPedControlState ( thePed, "fire", true ) end ) addEvent ( "setPedStanding", true ) addEventHandler ( "setPedStanding", root, function ( thePed ) setPedAnimation ( thePed, "BD_GF_Wave", false ) outputChatBox ( "* Stop Shooting !!!", 255, 255, 0, true ) for _, xaa in ipairs ( getTimers ( 100 ) ) do killTimer ( xaa ) end end ) --server thePositions = { { 1514.3770751953, -1677.8481445313, 14.046875 }, { 1515.3770751953, -1677.8481445313, 14.046875 }, } for _, AllPositions in ipairs ( thePositions ) do createPed ( 124, AllPositions [1], AllPositions [2], AllPositions [3] ) createMarker ( AllPositions [1], AllPositions [2], AllPositions [3] - 1, "cylinder", 50, 0, 0, 0, 0 ) end addEventHandler ( "onMarkerHit", getResourceRootElement ( getThisResource ( ) ), function ( thePlayer ) if getElementType ( thePlayer ) == "player" then if getPlayerTeam ( thePlayer ) == getTeamFromName ( "sh" ) then for _, thePeds in ipairs ( getElementsByType ( "ped", getResourceRootElement ( getThisResource() ) ) ) do triggerClientEvent ( thePlayer, "wave", thePlayer, thePeds ) end if isPedInVehicle ( thePlayer ) then removePedFromVehicle ( thePlayer ) setTimer ( giveWeapon, 500, 0, thePed, 25, 99999, true ) triggerClientEvent ( thePlayer, "setPedAttacking", thePlayer, thePeds ) end end end end ) addEventHandler ( "onMarkerLeave", getResourceRootElement ( getThisResource ( ) ), function ( thePlayer ) if getElementType ( thePlayer ) == "player" then if getPlayerTeam ( thePlayer ) == getTeamFromName ( "sh" ) then for _, thePeds in ipairs ( getElementsByType ( "ped", getResourceRootElement ( getThisResource() ) ) ) do triggerClientEvent ( thePlayer, "setPedStanding", thePlayer, thePeds ) setTimer ( giveWeapon, 500, 1, thePlayer, 25, 99999, true ) end end end end )
-
createMarker getPlayerTeam removePedFromVehicle
-
in the meta file is the MySQL connect data, the first wich loads. from the MySQL connect: gMysqlHost = "localhost" gMysqlUser = "********" gMysqlPass = "********" gMysqlDatabase = "MTA" function MySQL_Startup() handler = mysql_connect(gMysqlHost, gMysqlUser, gMysqlPass, gMysqlDatabase) if( not handler) then outputDebugString("Couldn't run query: Unable to connect to the MySQL server!") outputDebugString("Please shutdown the server and start the MySQL server!") end end Well , see the errors and see this ^ It types errors that you didn't use , so show the full script so we can see -.-
-
Well i don't know MySQL , this may help you https://forum.multitheftauto.com/viewtopic.php?f=148&t=42067
-
Your module is .so , then you must type in mtaserver.conf <module src="mta_mysql.so" />
-
https://forum.multitheftauto.com/viewtopic.php?f=148&t=40809
-
hello I tried using this website and I always end up at a blank page Maybe because the txd + dff space is more than 15MB Or maybe your not using the correct internet browser (idk the good ones)
-
Maybe you didn't made the file 'modules' without the ' ' and be sure you named it modules
-
I think it's modded.
-
اكتب في الكونسول shutdown
