
bandi94
Members-
Posts
1,037 -
Joined
-
Last visited
Everything posted by bandi94
-
ok i wanna stream this radio http://live.radiozu.ro/ on the website is play buton ... and downlaod file i donwloaded in winamp work fine is live.m3u here the script and not working local radio function radio() if radio then stopSound(radio) else radio = playSound("live.m3u") end end bindKey("r","down",radio)
-
i say its client side bk he use gui and buton
-
bk you put a server side function getPlayerIP in cilent side script getPlayerIP is only server side
-
now whit 1.1 the 1.05 admin panel spam the debugscript3 whit guiGetText when i click on 1 player can i find some where a fixed panel ?
-
on debugscript 3 its shows removed player form team added player to team but no team in tab or admin panel under setTeam i haved some problems whit geoip after i encoded it to UTF-8 its works tryed whit autoteams but not worked and no error on debug script 3 somebody succeed to fix it or has some idea where is the problem ?
-
no on MTA 1.05 all my maps was loaded on server i havent "it contains illegal characters" error
-
i don't know the host moved to 1.1 some maps are loadted whit space anothers whit ilegal character and are only spaces ...
-
now we hawe the best pach ever we seen 1.1 is not enough thet some script no more working now i get for 50% of maps ilegal character the "space" now i need to rename over 500 map's whit SVN rename/move and re commit all maps this is a crap sh*** i get spamed on /debugscript 3 whit the admin panel guiSetTesxt( adn its the MTA admin panel i don't changet it so) best pach ever i seen
-
i have same problem and some script not working in MTA 1.1 and the admin panel gives a laot of warnings (original admin panel what comes whit MTA 1.1) so the 1.1 ver is the best .. somebody can fix the auteams and the admin panel ghis guiSetText Warning
-
yes
-
function block() --here you can put a code if you wanna to block only some messages cancelEvent() -- this is cancel the output in Chat end addEventHandler("onPlayerChat",root,block)
-
onVehicleExplode
-
no problem
-
https://wiki.multitheftauto.com/wiki/Main_Page https://wiki.multitheftauto.com/wiki/Scr ... troduction
-
and you need to get player account and after the account data like local account= getPlayerAccount(player) local level= getAccountData(account,"level") but this functions are only serer side (Account functions) i think this make the work call(getResourceFromName("scoreboard"),"addScoreboardColumn","Level") function level() for i,v in pairs(getElementsByType("player")) do local account = getPlayerAccount(v) if not account or isGuestAccount(account) then setElementData(v,"Level","Login!") else local level = getAccountData(account,"rank") setElementData(v,"Level",level) end end end setTimer(level,1000,0)
-
try this function onSwitchToMinigun (previous, current) if ( current == 38 ) then if ( hasObjectPermissionTo(source, "function.kickPlayer")) then return end killPed(source) outputChatBox("You are a cheater", source, 255, 0, 0 ) end end addEventHandler("onPlayerWeaponSwitch", getRootElement(), onSwitchToMinigun ) i am not shure if you can let "then" whitout nothing to do and after then put else
-
function repairVehicle( hitElement ) if getElementType ( hitElement ) == "Player" then local vehicle = getPedOccupiedVehicle( hitElement ) if vehicle then fixVehicle( vehicle ) playSoundFrontEnd( hitElement, 46 ) outputChatBox( "Your vehicle has been repaired - enjoy!", hitElement, 0, 255, 0, true ) elseif getElementType ( hitElement ) == "Vehicle" then if getVehicleOccupant ( hitElement ) then fixVehicle( hitElement ) playSoundFrontEnd( hitElement, 46 ) outputChatBox( "Your vehicle has been repaired - enjoy!", hitElement, 0, 255, 0, true ) end else outputChatBox( "You need to be in a vehicle!", hitElement, 255, 0, 0, true ) end end end addEventHandler( "onMarkerHit", repair, repairVehicle ) try this not tested
-
i know i am not in the right place for this but i am i have a server hosted by .. whit SVN now the problem is i have SVN instaled on C and the server resource .. checkouted folder in D now my windows is f*** up an i wanna reinstal it whit formating C it will remove SVN and after reinstal windows if i reinstal SVN i think i will lost the checkouted folder for server in D right? can i save the checkout folder in D like i reinstal SVN and the checkouted folder to be like befor thx
-
i know getAccountData but first you need to get the Account and whit getAccount you get accounts for players who is playing on server but i need all account's exist on server like something local accounts=getAccounts() for i,v in pairs(accounts) do data=getAccountData(v) ............ end and whit a gui ... i need to know if this is correct(it will work?) befor i start to do all script
-
1. How can i get all Accounts and one Account Data for all Account's like whit getPlayerAccount.. 1 get account for players who are playing on server but i need all account's on server i find local accounts = getAccounts() --and after whit in pairs do its this correct ? and 2. what is the best mode to save map data/s like time played last played time and more and then om map start thet get curent map and data/s (i don't need a full code only function names or to explain how to do) Thanks in advantage
-
createBlip ( float x, float y, float z, [int icon=0, int size=2, int r=255, int g=0, int b=0, int a=255, int ordering=0 *, float visibleDistance=99999.0, visibleTo = getRootElement()] )
-
local team =createTeam(Army_Rangers) function setTeam(player) setPlayerTeam ( player, team ) end addEvent( "giveTeam", true ) addEventHandler( "giveTeam", getRootElement(), setTeam )
-
https://wiki.multitheftauto.com/wiki/TriggerServerEvent