-
Posts
460 -
Joined
-
Last visited
Everything posted by Mefisto_PL
-
Sorry for Off-Topic, but still I have this problem..
-
So what I must use in your opinion ?
-
Widać, że czytałeś post. : x
-
showCursor (false, false) in first, but why you don't add everything to one window, example GUIEditor_Tab[1] = guiCreateTab("About us",GUIEditor_TabPanel[1], GUIEditor_Window[1])
-
Using triggerServerEvent ?
-
https://community.multitheftauto.com/ind ... ls&id=4600
-
Why when the player hit the marker then gui is showed to everyone? .. function StripMarkerHit ( thePlayer, HitElement ) if isElementWithinMarker ( thePlayer, Strip_Marker ) then guiSetVisible ( StripWindow, true ) showCursor ( true ) guiSetInputEnabled ( true ) else guiSetVisible ( StripWindow, false ) showCursor ( false ) guiSetInputEnabled ( false ) end end addEventHandler ( "onClientMarkerHit", Strip_Marker, StripMarkerHit )
-
Idk where is this line.. : c
-
Yup. Did you see any code here? I save my data in server-side script..
-
I fix that in another way, but thanks for help.
-
I've made a Money System.. When I quit or logout my cash is saved.. But when I have for example $666 and when I use takePlayerMoney ( blah blah blah 500 for example ) then I have $166, when I quit I have $666.. WHY?!
-
I have it in scoreboard..
-
I didn't send the full code but it's on first line points = getElementData ( getLocalPlayer(), "Points" )
-
This is defined in server-side script function scorePoints ( ) call(getResourceFromName("scoreboard"), "addScoreboardColumn", "Points") for theKey,thePlayer in ipairs(getElementsByType ( "player" )) do setElementData ( thePlayer, "Points", 0 ) end end addEventHandler ( "onResourceStart", getResourceRootElement(), scorePoints ) function createPoints ( ) setElementData ( thePlayer, "Points", 0 ) end addEventHandler ( "onPlayerJoin", getRootElement(), createPoints )
-
Hi ! I would like to make player can jump in vehicle but if he has 50 points.. I made it but now script isn't working.. function Veh_Jump () local p_Vehicle = getPedOccupiedVehicle ( getLocalPlayer() ) if ( points >= 50 ) then if p_Vehicle and isVehicleOnGround ( p_Vehicle ) then local px, py, pz = getElementVelocity ( p_Vehicle ) setElementVelocity ( p_Vehicle, px, py, pz + 0.7 ) if ( points <= 50 ) then setElementVelocity ( p_Vehicle, px, py, pz ) end end end end bindKey("lshift","down",Veh_Jump) addCommandHandler("vehjump", Veh_Jump)
-
Why it doesn't working?! This is in scoreboard_client.lua .. I want to make colored content but it doesn't working : C for key, column in ipairs( scoreboardColumns ) do local r, g, b, a = fromcolor( cContent ) if not useColors then r, g, b = 255, 255, 255 end local theX = x local content = scoreboardContent[index][column.name] if content and column.name == "name" then if useColors then r, g, b = getTeamColor( element ) end theX = x - s(3) local theX = x if content and column.name == "ping" then if getPlayerPing ( player ) == 0 then if useColors then r, g, b = 255, 0, 0 end end theX = x - s(3) end end
-
[HELP]player wasted show window, ok map finish,window close
Mefisto_PL replied to skyturk.sgf's topic in Scripting
window1 = guiCreateWindow(0,4,432,251,"ddsh",false) function deadplayer() guiSetVisible(window1,true) end addEventHandler("onClientPlayerWasted", getLocalPlayer(), deadplayer) function mapstart() guiSetVisible(window1, false) end addEventHandler("onClientMapStopping", getLocalPlayer(), mapstart) -
Oh ! Thank you ! That's working ! ;D
-
Guy it's a ped, but I want to change default skin to MY skin. ///EDIT I know only I can see that, but now for tests I teleport to this interior. In normal i set camera..
-
I would like to set ped skin when I press the button, everything is okey, but ped skin isn't changed.. In debugscript is "Bad Argument".. Nothing to see
-
Poszukuję skryptera.
Mefisto_PL replied to Xenioo's topic in Poszukiwania i oferty graczy, reklamy serwerów
Inaczej to zrozumiałem, myślałem że on chce zrobić inny serwer.. -
Poszukuję skryptera.
Mefisto_PL replied to Xenioo's topic in Poszukiwania i oferty graczy, reklamy serwerów
DM chodzi o Deathmatch Race'owy czy zwykła strzelanka ? -
circle radar is maded by shaders
