waqaarali
Members-
Posts
181 -
Joined
-
Last visited
Everything posted by waqaarali
-
My internet is working fine because it works on E(Internet Explorer) and Chrome but in MTA:SA the server list don't appear and if i do right any IP it says connection timed out except for my local ip address please help!!!
-
Na, don't beg
-
function vehicle() carid = getElementModel(vehicle) -- not a car id. -- and if (skinid==280 or skinid==281 or skinid==282 and carid==596 or carid==598 or carid==597) and isObjectInACLGroup ( "user." .. getAccountName(getPlayerAccount(source)), aclGetGroup ( "police" ) ) then else setVehicleLocked ( 596, true ) setVehicleLocked ( 598, true ) setVehicleLocked ( 597, true ) end addEventHandler("isVehicleLocked",vehicle) So is it like this?
-
skinid = getElementModel(source) carid = getElementModel(596) if skinid==280 or skinid==281 or skinid==282 and carid==596 or carid==598 or carid==597 and isObjectInACLGroup ( "user." .. getAccountName(getPlayerAccount(source)), aclGetGroup ( "police" ) ) then else setVehicleLocked ( 596, true ) setVehicleLocked ( 598, true ) setVehicleLocked ( 597, true ) end is it this?
-
Can you give an example ....
-
So I made a LSPD Team and I mapped a few Police cars but I only want the police skin to enter police car I forget the function/code for it....
-
Nevert mind i got it to work local marker = createMarker ( 1545, -1669.6999511719, 12.60000038147, "cylinder", 1, 255, 255, 0, 165 ) function createTeamsOnStart () teamALSPD = createTeam ( "Los Santos Police Department", 0, 255, 0 ) end addEventHandler("onResourceStart", resourceRoot, createTeamsOnStart) function omh ( source ) setPlayerTeam ( source, teamALSPD ) giveWeapon( source, 31, 1000 ) -- set id and ammo giveWeapon( source, 31, 1000 ) -- set id and ammo end addEventHandler("onMarkerHit", marker, omh)
-
It dont work whats is ( hs, id, ammo ) what does hs mean ....
-
thnx again lol
-
Btw if its on that team how to give that team a weapon when onMarkerHit, giveWeapon how to do this? Please help.
-
6ArHxiMr'3a[Z]eF your script don't work but New Programmers does
-
thnx guys
-
local marker = createMarker ( 1545, -1669.6999511719, 12.60000038147, "cylinder", 1, 255, 255, 0, 165 ) function createTeamsOnStart () teamALSPD = createTeam ( "Los Santos Police Department", 0, 255, 0 ) end addEventHandler("onResourceStart", resourceRoot, createTeamsOnStart) function onMarkerHit (source, onMarkerHit, teamName) setPlayerTeam ( source, teamALSPD) end addEventHandler("onClientMarkerHit",marker) I scripted the code but when i enter the marker i don't get set to team please help someone! I am still learning scripting
-
Thnx guys! I will follow your steps/advice and try out Wiki again especially "myonlake" method
-
I am really angry, all my friends can script except me and someone please teach me or tell me how to get started and I have read Wiki a few times doesn't help me much..... Please help!!
-
GUIEditor = { button = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.button[1] = guiCreateButton(0, 562, 123, 38, "Log in", false) GUIEditor.button[2] = guiCreateButton(129, 562, 123, 38, "Register", false) end ) addEventHandler("onClientRender", root, function() dxDrawImage(236, 25, 312, 231, ":guieditor/images/examples/mtalogo.png", 0, 0, 0, tocolor(255, 255, 255, 255), true) dxDrawText("Welcome to the server.\nWe are a new server.\nEnjoy roleplaying.\n", 262, 283, 458, 286, tocolor(255, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, true, false, false) end ) I've got the code but i don't know how to start off scripting i want it as other servers like when you register/login you get Firstname and Lastname but this one is different when you click button login a different window appears and when you click register a different window appears! But it has to be connected to MySQL to register please help someone!
-
How to start it off like function createLogin () start me off
-
I want to know how to make a simple login/register panel by myself, like I want to know the functions etc. Someone get me started
-
Hey there MTA Members, Many people know that Arsenic was a very good gamemode made from scratch. And if the owner of the script can give me permission i would like to make the gamemode even better by adding maps and other scripts in there of my own but only if the owner will let me to and I will re-open it when I finish !!
-
I don't care if you don't like it, it is a small business not a big one like Vortex ....
-
Its just a link for help etc. you can't order from there you have to order by contacting us
-
Hello There MTA Members About us Today I am here to introduce you a whole new Multi Theft Auto Server Hosting, we start of with cheap prices that you can never think of and this specific hosting company is very stable and you get 24/7 help if you need. We are a small business but we have great surprises waiting for you! We mainly only work on Multi Theft Auto Gameservers and we offer free help when you setup, we can also setup the files you need which won't cost a thing! We also offer free basic LUA scripting for MTA which is very helpful! Many people think we might scam in such a way to steal scripts, but we do not do it that way you will have full access to you own files and you can protect it by putting a lock on it which others cannot find out! We are currently running Windows Server hosting for now and we know many MTA gamemodes work on Windows mainly like Roleplay, RPG and more! We can setup any gamemode you like and when you request for a MTA Server it takes less than 30 Minutes to setup! We also give a 30Minutes server trial to test how fast and secure our server is! What you get when you host with us? * You can connect to your host over RDC ( Remote Desktop Connection ) * Server set-up support! * Simple LUA support! * 24/7 support UK time * 99.9% Uptime Guaranteed * Fast/Trustful Server Prices Unlimited MTA Slots = $10/per month 1000 MTA Slots = $5/ per month Payment Methods *PayPal *Visa *Other Methods (Maybe) How do you buy a server To buy a server you can contact our skype or email! Email : [email protected] Skype : waqaarali0071
-
There is this Error to : [2013-06-22 16:07:21] ERROR: account-system/s_account_system_sapphire.lua:324: attempt to concatenate local 'motd' (a boolean value)
