-
Posts
4,144 -
Joined
-
Last visited
-
Days Won
1
Everything posted by dzek (varez)
-
why banning ip, not the serial ? -.-
-
there are more than enough unused object ids (by unused i mean objects that you don't find anywhere anyways) yeah, but ppl that creates resources with custom models idk why uses actually used objects..
-
there are more than enough unused object ids (by unused i mean objects that you don't find anywhere anyways) yeah, but ppl that creates resources with custom models idk why uses actually used objects..
-
OK, i don't know a solution, but could you tell me for WHAT you need all that space? ~16km^2.. I'm curious about this
-
OK, i don't know a solution, but could you tell me for WHAT you need all that space? ~16km^2.. I'm curious about this
-
ive just copied this line, thinking its ok
-
ive just copied this line, thinking its ok
-
replace getPlayerName with getPlayerAccount and ... read? i`ve told you to put lua code in [lua] [/lua] tags..
-
replace getPlayerName with getPlayerAccount and ... read? i`ve told you to put lua code in [lua] [/lua] tags..
-
paste here config file you have messed up something
-
paste here config file you have messed up something
-
in openGate just check if playerSource is an admin. look at wiki for accounts functions and when pasting your code, use [lua] --your code [/lua] tags
-
in openGate just check if playerSource is an admin. look at wiki for accounts functions and when pasting your code, use [lua] --your code [/lua] tags
-
wow, a messy code.. try to get basics of Lua, its probably your 1st script and its too hard, i think you dont know any progamming logic function HideWindow() guiSetVisible(wdwLogin,false) showCursor (false) -- you forgeet about this end function createWindow ( res ) -- this function creates a login window and show the cursor wdwLogin = guiCreateWindow(226,146,372,233,"[Admin Login System]",false) guiWindowSetMovable(wdwLogin,false) guiWindowSetSizable(wdwLogin,false) tabpanel = guiCreateTabPanel(0.0242,0.0858,0.9489,0.8755,true,wdwLogin) tab1 = guiCreateTab("Login",tabpanel) login = guiCreateButton(0.1000,0.8611,0.2436,0.1167,"Login",true,tab1) username = guiCreateLabel(0.0113,0.1167,0.3768,0.15,"UserName:",true,tab1) guiLabelSetColor(username,255,255,255) guiLabelSetVerticalAlign(username,"top") guiLabelSetHorizontalAlign(username,"left",false) guiSetFont(username,"default-bold-small") password = guiCreateLabel(0.0113,0.2889,0.3768,0.15,"Password:",true,tab1) guiLabelSetColor(password,255,255,255) guiLabelSetVerticalAlign(password,"top") guiLabelSetHorizontalAlign(password,"left",false) guiSetFont(password,"default-bold-small") username = guiCreateEdit(0.2266,0.1,0.3598,0.1389,localPlayerName,true,tab1) password = guiCreateEdit(0.2266,0.2611,0.3598,0.1389,"",true,tab1) Canel = guiCreateButton( 0.4, 0.85, 0.20, 0.15, "Cancel", true,tab1 ) guiEditSetMasked(password,true) tab2 = guiCreateTab("Info",tabpanel) showCursor (true) -- you forgot about this addEventHandler("onClientGUIClick",Cancel,HideWindow,false) -- "HideWindow" will be fired when somebody hits cancel end addEventHandler ( "onResourceStart", getRootElement(), createWindow ) -- "createWindow" will be fired when resource starts/player join that is better, right? download MTA Script Editor, it will help you a lot, really and dont forget about https://wiki.multitheftauto.com/wiki/Main_Page (on the menu on the left, there are useful lists of Events/Functions) good luck ps. SCRIPT ABOVE NOT TESTED, if you messed something more than i think, try to fix it by yourself
-
wow, a messy code.. try to get basics of Lua, its probably your 1st script and its too hard, i think you dont know any progamming logic function HideWindow() guiSetVisible(wdwLogin,false) showCursor (false) -- you forgeet about this end function createWindow ( res ) -- this function creates a login window and show the cursor wdwLogin = guiCreateWindow(226,146,372,233,"[Admin Login System]",false) guiWindowSetMovable(wdwLogin,false) guiWindowSetSizable(wdwLogin,false) tabpanel = guiCreateTabPanel(0.0242,0.0858,0.9489,0.8755,true,wdwLogin) tab1 = guiCreateTab("Login",tabpanel) login = guiCreateButton(0.1000,0.8611,0.2436,0.1167,"Login",true,tab1) username = guiCreateLabel(0.0113,0.1167,0.3768,0.15,"UserName:",true,tab1) guiLabelSetColor(username,255,255,255) guiLabelSetVerticalAlign(username,"top") guiLabelSetHorizontalAlign(username,"left",false) guiSetFont(username,"default-bold-small") password = guiCreateLabel(0.0113,0.2889,0.3768,0.15,"Password:",true,tab1) guiLabelSetColor(password,255,255,255) guiLabelSetVerticalAlign(password,"top") guiLabelSetHorizontalAlign(password,"left",false) guiSetFont(password,"default-bold-small") username = guiCreateEdit(0.2266,0.1,0.3598,0.1389,localPlayerName,true,tab1) password = guiCreateEdit(0.2266,0.2611,0.3598,0.1389,"",true,tab1) Canel = guiCreateButton( 0.4, 0.85, 0.20, 0.15, "Cancel", true,tab1 ) guiEditSetMasked(password,true) tab2 = guiCreateTab("Info",tabpanel) showCursor (true) -- you forgot about this addEventHandler("onClientGUIClick",Cancel,HideWindow,false) -- "HideWindow" will be fired when somebody hits cancel end addEventHandler ( "onResourceStart", getRootElement(), createWindow ) -- "createWindow" will be fired when resource starts/player join that is better, right? download MTA Script Editor, it will help you a lot, really and dont forget about https://wiki.multitheftauto.com/wiki/Main_Page (on the menu on the left, there are useful lists of Events/Functions) good luck ps. SCRIPT ABOVE NOT TESTED, if you messed something more than i think, try to fix it by yourself
-
i think its impossible to explain all those things in just one single post.. you have two ways: first get the MTA Script Editor - it will help you a lot then: - download some resources (starting from really simple! you must know the basics) and read & analize them - or getting through tutorials. Wiki is very helpful too. Good luck
-
i think its impossible to explain all those things in just one single post.. you have two ways: first get the MTA Script Editor - it will help you a lot then: - download some resources (starting from really simple! you must know the basics) and read & analize them - or getting through tutorials. Wiki is very helpful too. Good luck
-
i was thinking about it too.. as i dont want to create whole new map, just change some part.. and im sad that you cannot import custom objects instead of replacing
-
i was thinking about it too.. as i dont want to create whole new map, just change some part.. and im sad that you cannot import custom objects instead of replacing
-
uhm put this in /usr/lib/
-
uhm put this in /usr/lib/
-
NOTE: SERVERS ARE DOWN!!!! WHEN WILL THEY BE BACK UP?????
dzek (varez) replied to computerfreako2's question in Client
hehe funny my server is up for about month (excluding the times i've restarted it), no problems with it at all -
NOTE: SERVERS ARE DOWN!!!! WHEN WILL THEY BE BACK UP?????
dzek (varez) replied to computerfreako2's question in Client
hehe funny my server is up for about month (excluding the times i've restarted it), no problems with it at all -
theres another "bug" in GTA (not only MTA). if you get player too far from center (i dunno how far), when your player are chaning its position it.. shakes.. in vehicle/on foot, no difference.. and about "Z" limits. I was unable to set Z position to 70 000 000, but 700 000 works ok. however, this fits my needs (few hours of player free falling)
-
theres another "bug" in GTA (not only MTA). if you get player too far from center (i dunno how far), when your player are chaning its position it.. shakes.. in vehicle/on foot, no difference.. and about "Z" limits. I was unable to set Z position to 70 000 000, but 700 000 works ok. however, this fits my needs (few hours of player free falling)
