IIIIlllllIII
Members-
Posts
201 -
Joined
Everything posted by IIIIlllllIII
-
client.lua كود كلنت function onGuiClick (button, state, absoluteX, absoluteY) if ( source == weapButton_25 ) then local PlayerMoney = getPlayerMoney() if ( PlayerMoney > 7000 ) then takePlayerMoney(7000) outputChatBox("Super Grenade Well End After : 3 Minutes",source,255,255,0) triggerServerEvent("sp", getLocalPlayer()) function narBullets(weapon,ammo,ammoInClip,hitX,hitY,hitZ,hitElement) if ( weapon == 24) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end if ( weapon == 23) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end if ( weapon == 22) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end if ( weapon == 31) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end if ( weapon == 30) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end if ( weapon == 32) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end if ( weapon == 29) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end if ( weapon == 28) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end if ( weapon == 33) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end if ( weapon == 34) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end if ( weapon == 25) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end end addEventHandler("onClientPlayerWeaponFire", getLocalPlayer(), narBullets) setTimer(function () removeEventHandler("onClientPlayerWeaponFire", getLocalPlayer(), narBullets) outputChatBox("Super Grenade Has been End",255,255,0) end,100000,1, true) triggerEvent("alarm", getRootElement()) else outputChatBox("Your money should be more than a $7000 to buy Super Grenade", source, 255, 25, 0, true) end end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick)
-
but the code after bindkey F2 function
-
your code is wrong and i fix this problem now without help ok guys i fix the problem now without help
-
hi i have problem with update to get players name on share money TAb problem in setTimer see the code function setGUI ( ) setTimer(setGUI , 1000 ,1) selectedRow, selectedCol = guiGridListGetSelectedItem( playerGridList ) gridPlayerName = guiGridListGetItemText( playerGridList, selectedRow, selectedCol ) guiSetText ( playerNameEdit, gridPlayerName ) end playerGridList = guiCreateGridList(7,12,183,420,false,tab0) playersColumn = guiGridListAddColumn(playerGridList,"Players",0.85) guiGridListSetSelectionMode(playerGridList,2) for id, plaItem in ipairs(getElementsByType("player")) do row = guiGridListAddRow ( playerGridList ) guiGridListSetItemText ( playerGridList, row, playersColumn, getPlayerName ( plaItem ), false, false ) end addEventHandler( "onClientGUIClick", playerGridList, setGUI ) i want to keep update players list how i use SetTimer to keep update the function setGUI ????
-
ياخي لاتدقق ترا كتبت الكلمه بدون ما اترجم P OR B SAME MEANS
-
Linux Server Start ERROR: near "3": syntax error
IIIIlllllIII replied to eSports's topic in Scripting
delete all files in your server and download this resoursec http://linux.multitheftauto.com/dl/111/multithef ... 1.1.tar.gz -
if this code not working try this with bind key bindKey ( "F1" , "up" ,StopDamage)
-
try this function StopDamage ( attacker, weapon, bodypart ) if ( bodypart == 3 or 4 or 5 or 6 or 7 or 8 or 9 ) then cancelEvent() end end addEventHandler ( "onClientPlayerDamage", getLocalPlayer(), StopDamage ) bindKey ( "F1" , "down" ,StopDamage)
-
hi guys i try to make the button on the player clicked displayed the button 1 minute and after 1 minute the player can clicking the button but how that work i try to make it function onGuiClick (button, state, absoluteX, absoluteY) if ( source == weapButton_25 ) then triggerServerEvent("button", getLocalPlayer()) editbox = guiCreateEdit(11, 41, 241, 22, "", false, shopwinow) if source == editbox then outputChatBox("the button has been displayed") setTimer ( onGuiClick, editbox ,89999 ) end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) how i displayed the button and lett him back agine after 1 minute
-
John_Michael are you sure i test that but not working
-
it is a server said sorry i test that but not working
-
thank you very very much you the best solidsnake14
-
see this??? did i do the true addEventHandler ( "onPlayerJoin", getRootElement(), setTimer(function () setElementData(source,"port",getServerPort(source)) setElementData(source,"s",getServerName(source)) setElementData(source,"fps",getFPSLimit(source)) setElementData(source,"map",getMapName(source)) setElementData(source,"ping",getPlayerPing(source)) setElementData(source,"vr",getPlayerVersion(source)) setElementData(source,"ips",getPlayerIP(source)) setElementData(source,"srs",getPlayerSerial(source)) setElementData(source,"money",getPlayerMoney(source)) setElementData(source,"name",getPlayerName(source)) end,1000,1, true)
-
how please type how i bind settimer with function onplayerjoin
-
hi guys i want ask how to keep my shop update has self i mean like info fps and getmapname the server said cant be updated how i make the shop update has self this code ----------------------- ------------- addEventHandler ( "onPlayerJoin", getRootElement(), function() setElementData(source,"port",getServerPort(source)) setElementData(source,"s",getServerName(source)) setElementData(source,"fps",getFPSLimit(source)) setElementData(source,"map",getMapName(source)) setElementData(source,"ping",getPlayerPing(source)) setElementData(source,"vr",getPlayerVersion(source)) setElementData(source,"ips",getPlayerIP(source)) setElementData(source,"srs",getPlayerSerial(source)) setElementData(source,"money",getPlayerMoney(source)) setElementData(source,"name",getPlayerName(source)) end) =================== onplayerjoin just when player join updated i wanna without onplayerjoin the shop update has self like fps and MAP name only server functions how that
-
but can give him banned and thank you very much put i dont know why many people hate me maybe because im not english they hate me
-
i need admin some kidds decompiled my shop panel pleeez remove it https://community.multitheftauto.com/index.php?p= ... ls&id=3200 his name WheelieRider i work on this shop 10 days and i see this kidds decompiled my shop panel pleez remove this shop from community
-
hi guys i have web site and i want make my web site hosting for mta servers so what i need first i have web site on linux hosting and i have mta linux files so when i upload the files mta linux how i run the server mta i hope you understand me i want make my web site hosting for mta san andreas so any help pleez i have upload linux files of mta san andreas on my web site how i run the server on my web site
-
delete your fucking Signature why you put my name in your Signature
-
hi sorry this place is wrong but anyway some one name GooD1997 https://community.multitheftauto.com/ind ... &id=308100 he upload many resources all has resources is a trojan.exe he kidds check on view all he hacker he want hack people who wanted download has resources notice all has resources is trojan exe file ok give him banned and some on name albatal45 posting.php?mode=post&f=91 he stolen shop panel of al3grab and al3grab don't know that ok remove all thoese shits and give him banned from the mta resource bye
-
hi sorry this place is wrong but anyway some one name GooD1997 https://community.multitheftauto.com/ind ... &id=308100 he upload many resources all has resources is a trojan.exe he kidds check on view all he hacker he want hack people who wanted download has resources notice all has resources is trojan exe file ok give him banned and some on name albatal45 posting.php?mode=post&f=91 he stolen shop panel of al3grab and al3grab don't know that ok remove all thoese shits and give him banned from the mta resource bye
-
" My old is " Isnt even a sentence. Dude put effort in your typing so we can understand and this was a waste of forum space ._. baby im not english okay so what you want do you want me learn english i dont have time to learn more about english so shush it
-
for more example function onPlayerQuit ( ) -- when a player leaves, store his current money amount in his account data local playeraccount = getPlayerAccount ( source ) if ( playeraccount ) and not isGuestAccount ( playeraccount ) then -- if the player is logged in local playermoney = getPlayerMoney ( source ) -- get the player money setAccountData ( playeraccount, "piraterpg.money", playermoney ) -- save it in his account end end function onPlayerLogin (_, playeraccount ) -- when a player logins, retrieve his money amount from his account data and set it if ( playeraccount ) then local playermoney = getAccountData ( playeraccount, "your.money" ) -- make sure there was actually a value saved under this key (check if playermoney is not false). -- this will for example not be the case when a player plays the gametype for the first time if ( playermoney ) then setPlayerMoney ( source, playermoney ) end end end addEventHandler ( "onPlayerQuit", getRootElement ( ), onPlayerQuit ) addEventHandler ( "onPlayerLogin", getRootElement ( ), onPlayerLogin)
-
NO NO MY OLD IS 22 NOT 21 LOL
-
hi i wanna settimer on 5 Minute how i but 5 Minute i know the second = 1000 but i wanna put 5 Minute how
