drk
Members-
Posts
1,607 -
Joined
-
Last visited
Everything posted by drk
-
local screenWidth, screenHeight = guiGetScreenSize() local mainWidth = 320 local mainHeight = 300 windowChangepw = guiCreateWindow ( screenWidth / 2 - mainWidth / 2, screenHeight / 2 - mainHeight / 2, mainWidth, mainHeight, "Change Password", false ) TextLabeOld = guiCreateLabel ( 9, 40, 84, 18, "Old Password :", false, windowChangepw ) TextLabelNewPW = guiCreateLabel ( 9, 71, 90, 19, "New Password :", false, windowChangepw ) editOldpw = guiCreateEdit ( 95, 37, 196, 24, "", false, windowChangepw ) editNewpw = guiCreateEdit ( 99, 68, 196, 24, "", false, windowChangepw ) ButtonChange = guiCreateButton ( 27, 130, 113, 25, "Change it!", false, windowChangepw ) ButtonCancel = guiCreateButton ( 252, 130, 113, 25, "Cancel", false, windowChangepw ) guiSetVisible ( windowChangepw, false ) guiWindowSetMovable ( windowChangepw, false ) guiWindowSetSizable ( windowChangepw, false ) guiLabelSetColor ( TextLabeOld, 150, 100, 0 ) addEventHandler ( "onClientGUIClick", ButtonCancel, hidewindow ) -- isn't hideWindow nil? addCommandHandler ( "changepw", function ( ) guiSetVisible ( windowChangepw, not guiGetVisible ( windowChangepw ) ) showCursor ( not isCursorShowing ( ) ) guiSetInputEnabled ( not guiGetInputEnabled ( ) ) end )
-
For who don't know: Correct olddata = executeSQLQuery [[ SELECT playerName, timeText, playerSerial FROM myTable WHERE myMap = 'race maptimes Freeroam "..mapname2.."' ]] Or: olddata = executeSQLQuery ( "SELECT playerName, timeText, playerSerial FROM myTable WHERE myMap = 'race maptimes Freeroam "..mapname2.."' ")
-
You're wrong Thelastride. You can't simply put your files in the VPS and your site will be online. For Linux: Open VPS's console and type: For CentOS: yum update yum install httpd mysql-server php-mysql php php-cli php-gd php-xml php-mbstring php-mcrypt php-mhash php-common php-ncurses ntsysv Mark mysqld and httpd to start ( use Space key ) and press Tab key to press Ok and quit. /etc/init.d/mysqld start /usr/bin/mysqladmin -u root password 'mySQLPassword here' mysql -u root -p Put password again. /etc/init.d/httpd start Now put your files in /var/www/html For Windows: Download Xampp or Wampp Install Open your port 80 Close skype or any program that are using port 80 Put yout files in www directory. Start Apache and MySQL and be happy! Maybe I helped someone, or not -- To explain » C-Panel -> It's a website manager where you can manage your domains, websites, ftp accounts and much things. » mySQL -> It's a database where you can store data. I think it's the more used for websites now.
-
But when you are in the server, you will can't change the nick by the MTA:SA settings canceling the event "onPlayerChangeNick", or can?
-
I think it's impossible because it's a built-in mta:sa function ( idk )
-
The problem is: He can get admin and login to resourcemanager / webadmin when he want. idk how
-
Maybe isn't this, but it's possible.
-
Hum good then do better. If you don't like my opinion, don't say nothing. I can say whatever I want. And I think this is not very useful. I try to help people, i'm not like you.
-
Nop.
-
I don't have a cheat but my friend has created a simple cheat that get's admin in the server and can control it LOL he modified mta sa code. And I know that it works because when we are enemies, he hacked my server
-
0 hackers? U are wrong..
-
I don't like it, sorry.
-
+1 Pwned +5 LOL This sucks. Who can't create a simple script to import dff and txd files? oO
-
This sucks. This have what all RP / RPG servers have, or better: NO ORIGINALITY!
-
We know but I agree with CapY.
-
Why post again lol Solidsnake said..
-
I can't test now Anyway I will try to solve this shit..
-
Dude, put this in mind. YOU CAN CREATE YOUR OWN HOUSES, THERE ISN'T MORE THAN 100 HOMES. THERE IS THE HOMES THAT YOU CREATE.
-
local pages = { "helppage1.xml", "page2.xml", "page3.xml" } GridList = guiCreateGridList ( pX, pY, wX, hY, false ) column1 = guiGridListAddColumn ( GridList, "Help", 1.0 ) column2 = guiGridListAddColumn ( GridList, "Page 2", 1.0 ) column3 = guiGridListAddColumn ( GridList, "Page 3", 1.0 ) addEventHandler ( "onClientResourceStart", resourceRoot, function ( ) for index, page in pairs">pairs ( pages ) do local loadFiles = xmlCreateFile ( page, "content" ) local newChild = xmlCreateChild ( loadFiles, "article name" ) xmlSaveFile ( loadFiles ) row = guiGridListAddRow ( column1 ) row2 = guiGridListAddRow ( column2 ) row3 = guiGridListAddRow ( column3 ) if ( row and row2 and row3 and column1 and column2 and column3 ) then local file1 = xmlLoadFile ( "helppage1.xml" ) local file2 = xmlLoadFile ( "page2.xml" ) local file3 = xmlLoadFile ( "page3.xml" ) if ( file1 and file2 and file3 ) then local node = xmlFindChild ( file1, "article name", 0 ) local text1 = xmlNodeGetValue ( node1 ) local node2 = xmlFindChild ( file2, "article name", 0 ) local text2 = xmlNodeGetValue ( node2 ) local node3 = xmlFindChild ( file3, "article name", 0 ) local text3 = xmlNodeGetValue ( node3 ) guiGridListSetItemText ( GridList, row, column1, text1, false, false ) guiGridListSetItemText ( GridList, row2, column2, text2, false, false ) guiGridListSetItemText ( GridList, row3, column3, text3, false, false ) end end end end ) Try it Remember, change gridlist positions...
-
There is not "more than 100 homes" dude. You can create every house you want.
-
LOL Impossible. Show your meta.xml
-
Download MTA:SA 1.3 source code and use Visual Studio 2008 ( not the Express Edition and you need SP1 ( idk ) ).
