Leaderboard
Popular Content
Showing content with the highest reputation on 14/06/17 in Posts
-
Heya, This is a small project I've spend three days on so far. I was bored of the same old desert so I decided to add a canyon. I feel like this gives the desert a fresh, new feeling while still retaining the good ol' San Andreas vibe. https://www.youtube.com/watch?v=RwetzEnNs-8&feature=youtu.be Things I've yet got to do: Create LOD models. Prelight the models so they fit in more with the enviroment. Small tweaks here and there. Let me know what you think! -Noah1 point
-
Infected Zombies a Whole info from the server and server history : Well,my friend(tahseen) and i decided to made a zombie server we were working on scripts about a year and finally we end it,at first our server got a big problem because some of the staffs sent us copid scripts but in 2017 we decided to kick all the staff team and we just restarted it, we're working on our own scripts about 3 months and we make sure that there isnt any copy right scripts/maps on our server,and at 6/14/2017 tahseen and i decided to open the server for everyone! How to play in Infected Zombies : well iam going to tell you all the commands and binds of this server so if you're connected to server you wont have any problem in the sever, The commands are : 1/wrench to flip your car and to support it with some health. 2/vehicle to open/close vehicles control panel. 3./lock to lock your vehicle. 4./engine to turn on/off your engine. 5./light to turn off/on your vehicle lights. 6./pm [playername] [text] to message someone. 7./r to reply someone who has just pmed you. 8./music to open/close music panel. 9./nemesis to teleport to nemesis [Zombie boss], 10./pvp[2-4] to teleport to pvp you can use /pvp or /pvp2 ... /pvp4 to teleport to different locations in a pvp zone. 11./news to check latest news. 12./zombie to teleport to zombie area which is good for killing the infection.[Grove street]. 13./hud to disable new hud. and the binds are : 1. F1 to open/close the clan panel 2. F2 to open/close the vehicle panel,it i'll only work when you're driving your own vehicle 3. F3 to open/close music panel. 4..F9 to open/close help panel Shops with image Gun shop : You can buy different guns by money ! Gun shops are in bases and you can also buy guns from gun shops around the map! Food Shop : When your health is low you can go and buy some foods to eat/drink there're different prices for every food,expensive foods will heal you up faster than a cheap ones you can find food shops in all the bases and in every food shop around SA ! Car shop : You can buy different cars from the car shop and you can spawn them by the spawner(white marker), you can find car shops around the SA or inside the safe zones(base) Change your skin ! : You can also change your skin from the skins shop, we cant call it shop you can take the skins for free, you can only set your skins in safe zones(bases) ! About Gamemode system(with image) : Kill nemesis boss with your friend ! : You can kill nemesis boss with your friend its a bit to kill it alone and you can warp to nemesis boss by pressing /nemesis nemesis boss spawns in greenglass collage,SF ship near the jazz party and finally in bone country! Kill zombies and level up : You can level up yourself by killing zombies ! Different kind of zombies ! : There a lot of kind of zombies such as : Zombie Guy,Ugly zombie,Miss zombie,Zombie,Guard Zombie,Bomber,Hunter and Tyant as i guess Hunter and Tyant are almost boss and for example you can kill Tyant by only shooting on his head and hunter got a lot of damage like nemesis but a bit less. Becareful dont kill bomber when he's near you because when it die it'll blow the zombies or players that's near him! As a suggestion : if you want to have a lot of fun with your friends in this server just go to horn areas we mapped some horn areas to make this server better and players can have fun in these areas! There a lot of more horn areas in this server ! if you want to see them connect the server ! Rules Are : 1.Dont cheat/hack 2.Dont insult/flame 3.Dont spam 4.Dont use caps in mainchat 5.Be mature 6.Be ethical 7.Use common sense 8. Dont annoy staff team 9. Dont provoke 10. Show some respect to others 11. If you want to apply or want to get more info then check our forum which is announced every period of time 12.It's recommended not to steal player's cars in order to not get bad reputation between players. Donation system and a bit info about owners and server : Infected Zombies was found by Gold and Krypton who tried to make this server the best in it's gamemode,quality and maps and with a support from our staff team we improved our gamemode much as any player wants and we came with an accurate gamemode with scripts that may have 1% bugs and interesting zombies gamemode that comes with new zombie names and styles all of this to get for you a good gamemode and to let you enjoy playing in our community so we offer some players who liked our community to support/donate us for special items they get and these items will be: [Donation] V.I.P System 1.VIP membership for player.[1 month of VIP will cost you 3$]. Clan base system Important : Bases for your clan that has no limit to be deleted or removed Base Level 3- 100 objects base + 2 skins + official costs you 15$. Base Level 2-50 objects base + 1 skin + official costs you 10$. Base Level 1-25 objects base + official costs you 6$. That's all,if you like to support us we will make for you a discount if this is your first time to donate for us for more info contact us on facebook:www.facebook.com/tahseenkayyali and on skype: rashed.rafati2 Thanks for reading... Frequently asked questions : Infected zombies forum link ? Answer : http://infectedzombies.ml/index.php How to donate ? Answer : Contact Gold owner of infected zombies. You can contact him at skype with skype: rashed.rafati2 and his is his Face book is www.facebook.com/tahseenkayyali What's server id ? Answer : mtasa://144.76.68.79:23463 Note for admins : Perm taken for posting this topic from the owner of the server1 point
-
local x,y = guiGetScreenSize ( ) local playerName = getPlayerName ( localPlayer ) local aColor = tocolor ( 255, 255, 255, 255 ) function drawStuff() dxDrawText ( "Welcome " .. playerName, x/3.5, y/3.6, x, y, aColor , 1, "bankgothic" ) dxDrawText ( "Welcome " .. playerName, x/3.48, y/3.58, x, y, tocolor ( 0, 0, 0, 255 ), 1, "bankgothic" ) dxDrawLine ( x/3.6, y/3.3, x/1.35, y/3.3, aColor, 2 ) dxDrawLine ( x/3.59, y/3.275, x/1.348, y/3.275, tocolor ( 0, 0, 0, 255 ), 2 ) end addEventHandler("onClientRender", root, drawStuff) addCommandHandler ( "ChangeColor" , function ( ) aColor = tocolor ( 255 , 0 , 255 , 255 ) end ) ChangeColor اكتب باف8 وراح تشوف اللون يتغير1 point
-
You have to escape them with % local str = "[lol] ok[]." local str = str:gsub("[%[%]]","") print(str)1 point
-
سوي متغير وخلي قيمته لون ابيض Mouse_Wheel_down وبعدين اذا ضغط على تغير قيمة المتغير الى الي اللون الي تبيه1 point
-
-- عشان يشتري دم "onClientGUIClick" setElementData -- كمية الدم -- تفعيل الدم "onClientGUIClick" getElementData -- جلب كمية الدم triggerServerEvent addEvent addEventHandler setElementHealth setElementData -- false1 point
-
createMarker -- إنشاء ماركر onmarkerhit -- إذا جاء للماركر takeplayermoney -- تأخذ فلوس من اللاعب giveweapon--تعطي سلاح1 point
-
giveWeapon--تعطي الاعب سلاح يوم يشتري takePlayerMoney--تاخذ منه فلوس بسعر السلاح ردك بايخ اسمح لي اقك , ما ودك تساعد لا تساعد1 point
-
1 point
-
1 point
-
1 point
-
setTimer(setPedRotation, 100, 0, pedc, getPedRotation(player))1 point
-
1 point
-
Please take your time, scroll up a bit and look at my code / wiki. What do you think you missed? You tell me. Compare my (or code from wiki) against yours and don't take callback into account, that is not the problem here.1 point
-
'#' gets the length (number of data entries) in the return table. It is recommended that you use callback functions when working with dbQuery (you will need to use dbQuery, dbExec is for inserts/updates/deletes etc). dbQuery( function (qh) local result = dbPoll( qh, 0 ) -- Timeout doesn't matter here because the result will always be ready if #result > 0 then -- you need to check the length of the table because even if there is nothing found, result will always be true for index, rows in ipairs(result) do -- loop through the returned rows outputChatBox(rows["YOUR_DB_COLUMN_NAME_1"]) outputChatBox(rows["YOUR_DB_COLUMN_NAME_2"]) outputChatBox(rows["YOUR_DB_COLUMN_NAME_3"]) end else outputChatBox("0 results found") end end, connection, "SELECT * FROM YOUR_DB_TABLE_NAME" ) The structure of the returned data will have nested tables. Example: local returnedData = { { ["username"] = "my_username_1", ["password"] = "my_pass_1", ["serial"] = "my_serial_1"}, }, { ["username"] = "my_username_2", ["password"] = "my_pass_2", ["serial"] = "my_serial_2"}, }, { ["username"] = "my_username_3", ["password"] = "my_pass_3", ["serial"] = "my_serial_3"}, } } --[[ This is the reason why you need to loop through the table and use the value variable like if it was a table returnedData[1][1] --> "my_username_1" returnedData[1][2] --> "my_pass_1" returnedData[1]["username"] --> "my_username_1" returnedData[2]["username"] --> "my_username_2" for k, rows in ipairs(returnedData) do outputChatBox(rows["username"]) end Output: my_username_1 my_username_2 my_username_3 for k, rows in ipairs(returnedData) do outputChatBox(rows["username"] .. " : " .. rows["password"]) end Output: my_username_1 : my_password_1 my_username_2 : my_password_2 my_username_3 : my_password_3 ]]1 point
-
1 point
-
Use these functions: https://wiki.multitheftauto.com/wiki/EngineLoadTXD https://wiki.multitheftauto.com/wiki/EngineImportTXD https://wiki.multitheftauto.com/wiki/EngineLoadDFF https://wiki.multitheftauto.com/wiki/EngineReplaceModel They already contain plenty of code examples, some of which provide complete, instantly working code to do what you want: replace vehicle/skins/weapons with mods. I honestly didn't expect you aren't known with something basic as how to create a valid resource @Sia, but alright here we go; 1) create a directory, name it for the resource, like: ''modelmod'' and move the GTA SA mod files in there (dff, txd) 2) create a .lua file called ''applymod.lua'' 3) paste the code f.e from the code examples (specific to skin/weapon/vehicle-mod, from wiki link(s) into the ''applymod.lua'' file, edit the (model or GTA) ID's to replace and the mod filenames to match the .txd / .dff files. 4) create a file called ''meta.xml'' and paste this in it: <meta> <script src="applymod.lua" type="client"/> </meta> Now move the whole directory into server > deathmatch > resources and start the resource. If you're doing it correctly, this resource contains now the following: modfile.txd modfile.dff applymod.lua meta.xml That's the essentials for it to be a valid resource, following all steps as I listed them up above. Clearly you never did this before @Sia, but hope I helped you.1 point
-
1 point
-
1 point
-
بما ان تم حل المشكلة التي تم إنشاء الموضوع لأجلها , فيجب عليك إنشاء موضوع جديد يختص بمشكلتك الجديدة يغلق..#1 point
-
1 point
-
DGS 2.64 with 4 functions has pushed. <export function="dgsDxLabelSetHorizontalAlign" type="client" /> <export function="dgsDxLabelSetVerticalAlign" type="client" /> <export function="dgsDxLabelGetHorizontalAlign" type="client" /> <export function="dgsDxLabelGetVerticalAlign" type="client" />1 point
-
That's not a bug, that is how the website was built, it's using POST method to conduct a search, so when you try to navigate back the browser no longer has the data, but it even tells you that. This could be solved by using GET method in the queryString (eg. community.multitheftauto.com/index.php?search=resourceName) but I don't think it will be changed, since it's not that big of a deal. What you can do is, don't open the link just by clicking on it, right click -> open in new tab or click with the middle mouse button on the link and if you wanted to go back, you simply close the tab.1 point
-
1 point
-
Si ya lo arregle man Ya ando listo para configurar mi local, poder scriptear y hacer lo que me gusta1 point
-
i had a good check on this server lately, the server looks awesome and fair with scripts. Great Job.1 point
