-
Posts
677 -
Joined
-
Last visited
-
Days Won
7
Everything posted by Storm-Hanma
-
Cool Good job !!
- 6 replies
-
- 2
-
-
- mtasa desing
- speedart
-
(and 1 more)
Tagged with:
-
use this functions if ( getElementType ( attacker ) == "player" ) then
-
Hi Newbie welcome to mta sa community !! well if you r newbie and wanna play some good servers i am here to hint you some server names : freeroam servers : default freeroam p, andy gta 5 freeroam, default mta server, tomy mta sa, SAAF , many freeroam r there but i prefers to play here only Rpg : Cit2, Saeg, PYL, CCD planet ,Saur rpg,Owl gaming ,Gamenet.ga ! i play some stealth servers , names - mini-missions, online.lk ! you can find me in there servers mostly i play on default freeroam p & andygta5 freeroam My nick in game - Amazingcasino!!
-
any erros did you check /debugscript 1?
-
[REL] New car reflection shader, close to ENB
Storm-Hanma replied to Dutchman101's topic in Resources
Cool -
Contact admin @ccw
-
Contact the owner of that resource ,resources is running ?you can see shops blips?once run interiors and check to enter the shops will work
-
You can script it on your own if you have idea about how to don't ever mention server name this will bring you trouble in that server
-
Idk what are you asking weather in MTA server p panel or open game panel ? Has above said add your username in acl.XML +make sure your server is offline when you edit acl then save and start server then enter you server do /register user+pass then /login user+pass Make sure you add your user in acl.XML /admin group
-
gaming i Want to Learn MTASA Scripting NOT MTA WIKI :@
Storm-Hanma replied to Hamza Rajput's topic in Scripting
i said you already hamza go through mta sa wiki you will get all from there ,you can learn basics from there start reading all functions through wiki and you will get ideas how to do !! -
Idk how it works but if you need to convert any maps to MTA @CodyJ(L) will do it for you and its not easy to convert by begineer take a expert choice
-
You can use dff &txd files for which id you want to convert by using mod loader it works for all players who stream in server try and it will works
-
help Need Red vs Blue (RvB) DM Gamemode
Storm-Hanma replied to #Heshan||eUNLOCK||'s topic in Resources
Its available in default folders to its a part of stealth modes ,which can be created by own you can get more maps from community to create own use functions like create teams on spawn ,locate a own map or use community mp ,give kill money reward ,output msg, get timer ,all is there located in default files in gamemodes folder of MTA check them -
Save your name in admin group has user.xxxx then save acl and restart your server and when you enter your server in MTA do /register username pass Then /login username pass now you can see msg press p to open admin panel its done !!
-
Its good to see MTA developed years by years or months by months but even MTA facing online players problems samp have more players then MTA don't know why ? Samp is like old generation gaming compare to samp MTA is faar better but even MTA doesn't overcame samp daily players record don't know I want more players in MTA Yea all thought same GTA sa will die due to GTA 5 release but its gone wrong new projects like CCD ,vicecity roleplay in MTA given more life to MTA thanks to CCD pubg gaming lolll they given new life to MTA !!!
-
Thanks @IIYAMA its had been fixed problem was in closing window , @Mr.Kareem its not about moving camera too anyway thanks
-
yea i have
-
hello community members i created a team panel with moving camera function the moving camera and panel works fine and get team player to scoreboard also working only the player spawn not working , but when it comes to select (choose)team it must spawn me at the positions , but its not working the screen go black and i stuck in the black screen below r some pics see it , Team panel pic : https://imgur.com/nTKFprq https://imgur.com/a/NG5mp Black screen when i click on select team : https://imgur.com/a/PS5pm https://imgur.com/LzoQWhN Scoreboard works fine shows team+player : https://imgur.com/A07HHQp https://imgur.com/a/3fmPl client code : --[[------------------------------------------------- Notes: > This code is using a relative image filepath. This will only work as long as the location it is from always exists, and the resource it is part of is running. To ensure it does not break, it is highly encouraged to move images into your local resource and reference them there. --]]------------------------------------------------- GUIEditor = { staticimage = {}, label = {}, button = {}, window = {}, gridlist = {}, memo = {} } addEventHandler("onClientResourceStart", resourceRoot, function() setTimer(function() startCamera() end, 2000, 1) GUIEditor.window[2] = guiCreateWindow(-3, 315, 1156, 423, "Team spawn panel", false) guiWindowSetSizable(GUIEditor.window[2], false) guiSetAlpha(GUIEditor.window[2], 1.00) guiSetProperty(GUIEditor.window[2], "CaptionColour", "FF45EE1E") GUIEditor.memo[4] = guiCreateMemo(14, 268, 223, 145, "Ballas r pro In gangs theey can take\ndown any gangs ,police or any teamsmebers the main goal of ballas is to take down groove street memebrs and there belonging\n**take down Groove and bikers*", false, GUIEditor.window[2]) GUIEditor.memo[5] = guiCreateMemo(260, 273, 245, 130, "Groove memebrs are decent and very powerfull with awsome guns skills they \ndo attack with combine members all the work is to take down mother :Oers\nBallas and bikers noobs!!\n\n**Take down Ballas and Bikers******", false, GUIEditor.window[2]) GUIEditor.memo[6] = guiCreateMemo(549, 279, 232, 128, "Bikers are newbies they dont know much about killing ,teaming so if are pro think to take down all groove and ballas then claim down your memebrs and take down kids around your hood!\n**Take down noobs around hood**", false, GUIEditor.window[2]) GUIEditor.staticimage[4] = guiCreateStaticImage(14, 28, 218, 188, ":newteampanel/img/Ballas.png", false, GUIEditor.window[2]) GUIEditor.staticimage[5] = guiCreateStaticImage(259, 34, 240, 172, ":newteampanel/img/groove.png", false, GUIEditor.window[2]) GUIEditor.staticimage[6] = guiCreateStaticImage(565, 54, 200, 152, ":newteampanel/img/bikers.png", false, GUIEditor.window[2]) GUIEditor.button[4] = guiCreateButton(838, 340, 129, 41, "Select", false, GUIEditor.window[2]) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FF787B84") GUIEditor.memo[7] = guiCreateMemo(1340, 284, 0, 20, "", false, GUIEditor.window[2]) GUIEditor.button[5] = guiCreateButton(981, 338, 126, 43, "Close", false, GUIEditor.window[2]) teamsList = guiCreateGridList(825, 51, 282, 277, false, GUIEditor.window[2]) column = guiGridListAddColumn(teamsList, "Teams", 0.9) for id, team in ipairs(getElementsByType("team")) do local row = guiGridListAddRow ( teamsList ) guiGridListSetItemText ( teamsList, row, 1, getTeamName ( team ), false, false ) guiGridListSetItemColor ( teamsList, row, 1, getTeamColor ( team ) ) end for i = 1, 3 do guiGridListAddRow(teamsList) end guiGridListSetItemText(teamsList, 0, 1, "Ballas", false, false) guiGridListSetItemColor(teamsList, 0, 1, 249, 31, 2, 255) guiGridListSetItemText(teamsList, 1, 1, "Groovestreet", false, false) guiGridListSetItemColor(teamsList, 1, 1, 6, 244, 40, 255) guiGridListSetItemText(teamsList, 2, 1, "Bikers", false, false) guiGridListSetItemColor(teamsList, 2, 1, 224, 17, 232, 255) GUIEditor.label[1] = guiCreateLabel(830, 30, 277, 24, "Team selection panel", false, GUIEditor.window[2]) guiLabelSetColor(GUIEditor.label[1], 249, 31, 2) end ) addEventHandler( 'onClientGUIClick', root, function() if source == GUIEditor.button[5] then guiSetVisible(GUIEditor.window[2], false) showCursor(false) end end ) addEventHandler( 'onClientGUIClick', root, function ( button ) if source == GUIEditor.button[4] then if button == "left" then local row, col = guiGridListGetSelectedItem ( teamsList ) local teamName = guiGridListGetItemText ( teamsList, row, col ) triggerServerEvent ( "onPlayerChooseTeam", getLocalPlayer(), teamName ) removeEventHandler("onClientPreRender", root, moveItNow) if isElement(dumpy) then destroyElement(dumpy) end destroyElement(GUIEditor.window[2]) guiSetInputEnabled(false) fadeCamera(false, 1.0, 0, 0, 0) end end end) ---MOVING CAMERA cams = { --X, Y, Z, X2, Y2, TX, TY, TZ [1]={1859, -1516, 48, 1952, -1513, 1919, -1423, 22}, --LS Skatepark [2]={2077, -1245, 46, 2077, -1148, 1987, -1200, 24}, --Glen Park [3]={1526, -1004, 63, 1484, -950, 1478, -989, 61}, --Burger King AD LS [4]={1471, -1606, 44, 1470, -1697, 1552, -1675, 21} --LSPD } pos = nil function startCamera() pos = math.random(1, #cams) local x, y, z = cams[pos][1], cams[pos][2], cams[pos][3] local tx, ty = cams[pos][4], cams[pos][5] local cx, cy, cz = cams[pos][6], cams[pos][7], cams[pos][8] setCameraMatrix(x, y, z, cx, cy, cz, 1, 90) startCamAction(x, y, z, tx, ty, 12) end function startCamAction(x, y, z, tx, ty, time) fadeCamera(true, 1.0, 0, 0, 0) dumpy = createObject(1337, x, y, z) setElementAlpha(dumpy, 0) setElementCollisionsEnabled(dumpy, false) moveObject(dumpy, time*1000, tx, ty, z) end function moveItNow() if not isElement(dumpy) then return end local x, y, z = getElementPosition(dumpy) setCameraMatrix(x, y, z, cams[pos][6], cams[pos][7], cams[pos][8], 1, 90) if (getDistanceBetweenPoints3D(x, y, z, cams[pos][4], cams[pos][5], z) <= 1) then if isElement(dumpy) then destroyElement(dumpy) end fadeCamera(false, 1.0, 0, 0, 0) setTimer(function() startCamera() end, 1200, 1) end end addEventHandler("onClientPreRender", root, moveItNow)
-
[RPG/MultiMode]SAEG:RPG(3.2)[ENGLISH]
Storm-Hanma replied to [SAEG]Wicked's topic in Servers to play on
It was online even when you said it is offline -
This function not working bro if getElementData(localPlayer, "player.key") == "amazingcasino" then Now amazing casino must add players to team or kick from team but it not happening there is no errors too In debug script
-
Actually there is no team leader function when player create team for example amazing casino now only this guy can access to kick or add to team hope you got it , That's why I use get elementdata
-
hello all i created a teampanel all works fine but problem is in adding players to team which only leader must do! for exmaple i created team and if i need to add players to team i tried with if getElementData(localPlayer, "player.key") == "amazingcasino" then but it doesn't work below is full code addEventHandler("onClientGUIClick", guiRoot, function() if getElementData(localPlayer, "player.key") == "amazingcasino" then if source == GUIEditor.button[3] then local row, column = guiGridListGetSelectedItem( GUIEditor.gridlist[1]) if row == -1 then return end local playerName = guiGridListGetItemText( GUIEditor.gridlist[1],row,column) local player = getPlayerFromName(playerName) local team = getPlayerTeam(localPlayer) local teamName = getTeamName(team) if not playerName then guiGridListRemoveRow(row) return end triggerServerEvent("Add to team", localPlayer,playerName,teamName) end end end)
-
both r same lol it does not mean from mta config or p panel xd!
-
open admin panel(p),go to tab server /look for fps limit make it 70 -80 your choice and press set now it done you can choose in btw 70-100 also but i prefer for 70-80 means 71,72,75 etc..80 any number
