-
Posts
42 -
Joined
-
Last visited
Everything posted by Batista
-
Sorry for my bad english , First problem : i mean when a player enter to the server it can show his country like "US" or "UK" ... in scorboard the problem is on scorboard i add the drawimage lien 715 like the ather and only me can see the flags ( or only how is on Admin group in ACL) ! i add the script name it on ACL files ( on group admin ) the second problem : My login system base with Mysql and i don't have any errors on the scripts and mysql date base so i add scripts on VPS and i download MySQL server 5.5 and i add the database name and all work without any problems all server data saved on Mysql i don't have problems , the problem is when i close 'MTA server.exe" and re-open it all accounts deleted, and on Mysql db not delete , players should make account again with same last username they used and when they make register on login they don't lost they data (money, x, y, z, heath ... ) i hope you understand me this time
-
Hello guys , I make a script to now players country so the scripts work and i Home flags work and Country work like "US" and i add the script name to ACT admin but , only who is on group admin can show the flags and country work for all players and, i have ather problem , when i create account all date saved on Mysql db by when i close the server and re-open it all accountData reset just we need to make ather account agin with login panel or with F8> /register user pass and i can login in and find my money , stats why accounts didn't save on MTA or maybe from VPS!
-
And i have ather problem , when i create account all date saved on Mysql db by when i close the server and re-open it all accountData reset just we need to make ather account agin with login panel or with F8> /register user pass and i can login in and find my money , stats why accounts didn't save on MTA !
-
Hello guys , I make a script to now players country so the scripts work and i Home flags work and Country work like "US" and i add the script name to ACT admin but , only who is on group admin can show the flags and country work for all players !
-
No, at the first I try to make one, but I find it hardly. When I have a look at this topic, I found that Al3agrab post it, so I start readingit to know how he do it.
-
Thank you Al3agrab. @SolidSnake, the person know from his mistakes and from othres help. I try to do one with the functions that you give it to me and I didn't, it's hard for a new scripter as me, with Al3agrab help I know more about that.
-
Hello all, I want to do a script that save the team when I quit, and when I login again I return to the same team. Please help me with it. Thank you.
-
Hello all, Today I create /createmarker script, it's allow me to create checkpoint. My question is how to add blip when I type /createmarker and how to create cmd "removemarker" that remove the marker. This is my "createmarker" script: function consoleCreateMarker ( playerSource ) if ( playerSource ) then local x, y, z = getElementPosition ( playerSource ) createMarker ( x, y, z, "checkpoint", 2, 255, 0, 0, 255 ) end end addCommandHandler ( "createmarker", consoleCreateMarker ) Thanks.
-
Hello all, I read wiki and I do respawn script at hospital when player dead, but the probleme that it didn't save skin and weapons when I dead, please someone help me how to fix this? This is my script: addEventHandler( "onPlayerWasted", getRootElement( ), function() setTimer( spawnPlayer, 4000, 1, source, 1177.5682373047, -1323.2587890625, 14.077121734619 ) end ) Thanks.
-
Thank you Ben
-
function joinStaffTeam ( source ) local staffteam = getTeamFromName ( "Staff" ) if ( staffteam ) then setPlayerTeam ( source, staffteam ) end end addCommandHandler ( "staff", joinStaffTeam )
-
Idk, give me the 1st
-
Hello all, today I create script that when you type /staff you'll be in staff team on TAB, but the problem that everyone can use it, so for that I need it only for admins who have acces to admin panel, please tell me how to do it. thank you.
-
He mean why peoples didn't download his script.
-
Probleme solved, thanks
-
Yes I read what you say in your previous post, How to fix it?
-
I do this but I moved to staff team on TAB and I didn't get the skin... setElementModel(playerSource = 217)
-
As that? : setElementModel(playerSource = 217)
-
I didn't understand, can you explain more please? EDIT: probleme solved. Another question, how to add skin when I moved to another team by cmd?
-
3 days ago I start learning scripting and my dream is to be scripter. When I open my server to testing my scriptes I do this script: function createTeamsOnStart () teamStaff = createTeam ( "Staff", 255, 255, 255 ) if ( command == "staff" ) then setPlayerTeam ( source, nil ) end end addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), createTeamsOnStart ) And when I type /staff on chat or staff on console I didn't move to Staff team on TAB, please help me how to fix this. THank you