
Gtakiki
Members-
Posts
73 -
Joined
-
Last visited
Everything posted by Gtakiki
-
Hi all! Help me pls! I want to be just stroll and Ped but not me stony! Sorry for my bad English!
-
Hi all! i have Login panel and Mysql buy Login panel not work HELP PLS!(Sorry im bad English) CODE REMOVED BY Solidsnake14 http://kepfeltoltes.hu/view/131021/____ ... es.hu_.png here is problem Photo.
-
Hello Everyone!Help PLS! Loggin Panel bug! Valhalla operates in server mode!s_account_system! http://www.kepfeltoltes.hu/view/131021/_______www.kepfeltoltes.hu_.png HELP Pls! Thanks!
-
Rendben Draven jelőlj be Skypen és ott megbeszéljük a dolgokat!Nevem:mesko32
-
Hello mindenkinek! Egy olyan segítségre lenne szükségem hogy Kresztáblákat szeretnék lerakni a Map Editor-ban ha valaki tudna segíteni ebben annak nagyon örülnék Köszönöm!
-
Hello mindenkinek! Egyik haveromal elkesztünk késziteni egy szerot!Nevet nem mondok! Na most az a lényeg hogy 2 scriptelnek én pedig mapolom a servert csak egyedül ellég nehéz végig csinálni a mappolást! Ezért keresek még 1 vagy 2 mappert akik tudnának segíteni nekem! Amit nyujtunk: Szerveren valo admin (Ha normálisan csinálod a munkád) Jó társaság Amit kérünk: Érsd a dolgodat! Legyél minimum 15 éves! Legyen Mikrofonod! Ha ugy érzed hogy mindenképeség meg van benned akkor ezt töltsed ki! Neved: Korod: Mappolási tudásod ?/10: Scriptelési tudásod ?/10: Ha ugy érze hogy megfelelő lennél erre a munkára akkor majd irok ide hogy hol tudsz elérni! Jelentkezéseteket előre is köszönöm!
-
Image a legjobb scripter nézzük csak a SeeMTA-t ő a vezető fejlesztő nála jobbat eddig még nem láttam!
-
Jó kis ötlet ilyen témát még úgysem hozott fel senki én segítenék szívesen!A mappoláshoz profi szinten értek!A scripteléshez még csak amatuer szinten!
-
Would you do me because I do not really understand it! PLS!
-
I need gostaff script!Because the community is not good!It should only Admin can enter whatever!And name coloring is white! 217 skin is immediately!Thx all help!
-
Teame = createTeam("Criminal", 255, 0, 0) function teamSet ( ) local team = getTeamFromName ( "Criminal" ) if team then setPlayerTeam ( source, team ) setPlayerNametagColor ( source, 255, 0, 0 ) else local teamw = getTeamFromName ( "Criminal" ) if teamw then cancelEvent() end end end addEvent ( "sTeame", true) addEventHandler ( "sTeame", root, teamSet ) function setTeam ( thePlayer ) setPlayerTeam ( thePlayer, theTeam ) end addCommandHandler ( "criminal", setTeam ) http://kepfeltoltes.hu/view/130624/mta- ... es.hu_.png http://kepfeltoltes.hu/view/130624/mta- ... es.hu_.png
-
http://kepfeltoltes.hu/view/130622/mta- ... es.hu_.png http://kepfeltoltes.hu/view/130622/mta- ... es.hu_.png
-
Server: function createCriminalTeam () Criminalteam = createTeam ("Criminal", 255, 0, 0) end addEventHandler ("onResourceStart", resourceRoot, createCriminalTeam) addEvent ( "enterCriminalJob", true ) function setPlayerCriminal ( thePlayer ) local thePlayer = thePlayer or source local playerID = exports.server:playerID( thePlayer ) local oldTeam = getPlayerTeam( thePlayer ) local playerData = exports.DENmysql:querySingle( "SELECT * FROM accounts WHERE id=? LIMIT 1", playerID ) if ( playerData ) then setElementData( thePlayer, "Occupation", "Criminal", true ) setPlayerTeam ( thePlayer, getTeamFromName ( "Criminals" ) ) setElementModel ( thePlayer, tonumber( playerData.skin ) ) if ( tonumber( playerData.skin ) == 0 ) then local CJCLOTTable = fromJSON( tostring( playerData.cjskin ) ) if CJCLOTTable then for theType, index in pairs( CJCLOTTable ) do local texture, model = getClothesByTypeIndex ( theType, index ) addPedClothes ( thePlayer, texture, model, theType ) end end end if ( getTeamName( oldTeam ) ~= "Criminals" ) then triggerEvent( "onPlayerTeamChange", thePlayer, oldTeam, getTeamFromName ( "Criminals" ) ) end triggerEvent( "onPlayerJobChange", thePlayer, "Criminal", getTeamFromName ( "Criminals" ) ) exports.CPTvehicles:reloadFreeVehicleMarkers( thePlayer, true ) exports.CPThelp:createNewHelpMessageForPlayer( thePlayer, "You are now a criminal!", 200, 0, 0 ) return true else return false end end addEventHandler ( "enterCriminalJob", root, setPlayerCriminal ) function givePlayerCJClothes ( thePlayer ) local playerID = exports.server:playerID( thePlayer ) local playerData = exports.DENmysql:querySingle( "SELECT * FROM accounts WHERE id=? LIMIT 1", playerID ) if ( playerData ) then setElementModel ( thePlayer, 0 ) local CJCLOTTable = fromJSON( tostring( playerData.cjskin ) ) if CJCLOTTable then for theType, index in pairs( CJCLOTTable ) do local texture, model = getClothesByTypeIndex ( theType, index ) addPedClothes ( thePlayer, texture, model, theType ) end end return true else return false end end http://kepfeltoltes.hu/view/130622/mta- ... es.hu_.png http://kepfeltoltes.hu/view/130622/mta- ... es.hu_.png http://kepfeltoltes.hu/view/130622/mta- ... es.hu_.png
-
i add Team but not working
-
http://kepfeltoltes.hu/view/130622/mta- ... es.hu_.png http://kepfeltoltes.hu/view/130622/mta- ... es.hu_.png http://kepfeltoltes.hu/view/130622/mta- ... es.hu_.png http://kepfeltoltes.hu/view/130622/mta- ... es.hu_.png i wanna started Pilot job but not working see SS.
-
Van valaki aki jól scriptel és tud magyarul?
Gtakiki replied to Minotaur's topic in Hungarian / Magyar
Hello segitségre lenne szükséged? -
Client: local criminalJobMarkers = { [1]={2531.62, -1666.45, 15.16}, [2]={1407.56, -1300.06, 13.55}, [3]={-2159.34, 654.18, 52.36}, [4]={1753.87, 777.93, 10.82}, [5]={2127.69, 2377.1, 10.82} } crimJobWindow = guiCreateWindow(730,213,321,362,"CPT ~ Become a Criminal",false) crimJobMemo = guiCreateMemo(9,44,303,217,"",false,crimJobWindow) crimJobLabel = guiCreateLabel(14,22,257,17,"Information about this job:",false,crimJobWindow) guiSetFont(crimJobLabel,"default-bold-small") crimJobSetJob = guiCreateButton(12,268,292,36,"Become a Criminal",false,crimJobWindow) crimJobCloseScreen = guiCreateButton(12,312,295,36,"Close Screen",false,crimJobWindow) local screenW,screenH=guiGetScreenSize() local windowW,windowH=guiGetSize(crimJobWindow,false) local x,y = (screenW-windowW)/2,(screenH-windowH)/2 guiSetPosition(crimJobWindow,x,y,false) guiWindowSetMovable (crimJobWindow, true) guiWindowSetSizable (crimJobWindow, false) guiSetVisible (crimJobWindow, false) addEventHandler("onClientGUIClick", crimJobCloseScreen, function() guiSetVisible( crimJobWindow, false ) showCursor( false, false ) end, false ) addEventHandler("onClientGUIClick", crimJobSetJob, function() guiSetVisible( crimJobWindow, false ) showCursor( false, false ) local oldTeam = getPlayerTeam( localPlayer ) if ( getTeamName( oldTeam ) ~= "Criminals" ) then triggerEvent( "onClientPlayerTeamChange", localPlayer, oldTeam, getTeamFromName ( "Criminals" ) ) end triggerEvent( "onClientPlayerJobChange", localPlayer, "Criminal", getTeamFromName ( "Criminals" ) ) triggerServerEvent( "enterCriminalJob", localPlayer ) end, false ) function crimMarkerHit( hitPlayer, matchingDimension ) if ( hitPlayer == localPlayer ) then local vehicle = getPedOccupiedVehicle ( localPlayer ) if not ( vehicle ) then guiSetVisible( crimJobWindow, true ) showCursor( true, true ) end end end for ID in pairs( criminalJobMarkers ) do local x, y, z = criminalJobMarkers[ID][1], criminalJobMarkers[ID][2], criminalJobMarkers[ID][3] local crimMarker = createMarker(x,y,z -1,"cylinder",2.0, 200, 0, 0 ,170) exports.customblips:createCustomBlip ( x, y, 16, 16, "image.png", 100 ) addEventHandler("onClientMarkerHit", crimMarker, crimMarkerHit) end Server: addEvent ( "enterCriminalJob", true ) function setPlayerCriminal ( thePlayer ) local thePlayer = thePlayer or source local playerID = exports.server:playerID( thePlayer ) local oldTeam = getPlayerTeam( thePlayer ) local playerData = exports.DENmysql:querySingle( "SELECT * FROM accounts WHERE id=? LIMIT 1", playerID ) if ( playerData ) then setElementData( thePlayer, "Occupation", "Criminal", true ) setPlayerTeam ( thePlayer, getTeamFromName ( "Criminals" ) ) setElementModel ( thePlayer, tonumber( playerData.skin ) ) if ( tonumber( playerData.skin ) == 0 ) then local CJCLOTTable = fromJSON( tostring( playerData.cjskin ) ) if CJCLOTTable then for theType, index in pairs( CJCLOTTable ) do local texture, model = getClothesByTypeIndex ( theType, index ) addPedClothes ( thePlayer, texture, model, theType ) end end end if ( getTeamName( oldTeam ) ~= "Criminals" ) then triggerEvent( "onPlayerTeamChange", thePlayer, oldTeam, getTeamFromName ( "Criminals" ) ) end triggerEvent( "onPlayerJobChange", thePlayer, "Criminal", getTeamFromName ( "Criminals" ) ) exports.CPTvehicles:reloadFreeVehicleMarkers( thePlayer, true ) exports.CPThelp:createNewHelpMessageForPlayer( thePlayer, "You are now a criminal!", 200, 0, 0 ) return true else return false end end addEventHandler ( "enterCriminalJob", root, setPlayerCriminal ) function givePlayerCJClothes ( thePlayer ) local playerID = exports.server:playerID( thePlayer ) local playerData = exports.DENmysql:querySingle( "SELECT * FROM accounts WHERE id=? LIMIT 1", playerID ) if ( playerData ) then setElementModel ( thePlayer, 0 ) local CJCLOTTable = fromJSON( tostring( playerData.cjskin ) ) if CJCLOTTable then for theType, index in pairs( CJCLOTTable ) do local texture, model = getClothesByTypeIndex ( theType, index ) addPedClothes ( thePlayer, texture, model, theType ) end end return true else return false end end Meta: "Gtakiki" version="2.0" type="script" /> http://kepfeltoltes.hu/view/130622/mta- ... es.hu_.png http://www.kepfeltoltes.hu/view/130622/ ... es.hu_.png
-
Server: function alertChat( thePlayer,_,... ) local text = table.concat( {...}, " " ) local name = getPlayerName( thePlayer ) for _,v in pairs( getPlayersInGroup( accName ) ) do outputChatBox ("#FF0000(NOTE) "..tostring( name )..": #FFFFFF"..tostring( text ), v, 255, 255, 255, true) end end addCommandHandler("/note", alertChat) function getPlayersInGroup( accName ) local Table = { } for _,v in pairs( getElementsByType( "player" ) ) do local accName = getAccountName ( getPlayerAccount ( v ) ) if isObjectInACLGroup ( "user." .. tostring( accName ), aclGetGroup( "Admin" ) ) or isObjectInACLGroup ( "user." .. tostring( accName ), aclGetGroup ( "SuperModerator" ) ) or isObjectInACLGroup ( "user." .. tostring( accName ), aclGetGroup ( "Moderator" ) ) then table.insert( Table,v ) end end return Table end Meta: "Kristof" version="1.0" type="script" name="Admin Note" description="Admin Note" /> http://kepfeltoltes.hu/view/130622/mta- ... es.hu_.png http://kepfeltoltes.hu/view/130622/mta- ... es.hu_.png
-
[TUT] Updating admin countries (Manual & Automatic)
Gtakiki replied to codeluaeveryday's topic in Tutorials
Nice Tutorial!