-
Posts
413 -
Joined
-
Last visited
Everything posted by SnoopCat
-
tienes una Radio Streaming en tu servidor y no tienes tantas radios???? pues añade la de nuestro clan!!!! http://clandfl.listen2myradio.com/media ... 976288.asx nuestra radio transmite desde las 2 de la tarde a las 11 de la noche (quisas desde antes) dias sabados y domingos casi todo el dia
-
i need it for race -.-
-
i just did it but now working anyways
-
this is clien side or server side?
-
hello i was modifing a login script that works fine in mta 1.0.5 now i eddited it and i cant use on 1.1 can someone help me? i just encoded it to UTF-8 but nothing happens client: GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Edit = {} GUIEditor_Window[1] = guiCreateWindow(201,213,255,341,"Welcome",false) GUIEditor_Edit[1] = guiCreateEdit(76,58,157,35,"",false,GUIEditor_Window[1]) GUIEditor_Edit[2] = guiCreateEdit(76,96,157,35,"",false,GUIEditor_Window[1]) GUIEditor_Label[1] = guiCreateLabel(11,65,63,21,"Usuario",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[1],255,255,255)) guiLabelSetVerticalAlign(GUIEditor_Label[1],"top"") guiSetFont(GUIEditor_Label[1],"default-bold-small") GUIEditor_Label[2] = guiCreateLabel(12,101,64,24,"Contrasena",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[2],255,255,255)) guiLabelSetVerticalAlign(GUIEditor_Label[2],"top"") guiSetFont(GUIEditor_Label[2],"default-bold-small") GUIEditor_Label[3] = guiCreateLabel(19,180,212,22,"O si eres Nuevo Registrate",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[3],255,150,255)) guiLabelSetVerticalAlign(GUIEditor_Label[3],"top"") guiSetFont(GUIEditor_Label[3],"clear-normal") GUIEditor_Label[4] = guiCreateLabel(20,27,212,22,"Bienvenido porfavor Logeate",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[4],255,150,255)) guiLabelSetVerticalAlign(GUIEditor_Label[4],"top"") guiSetFont(GUIEditor_Label[4],"clear-normal") GUIEditor_Button[1] = guiCreateButton(133,142,101,31,"Logear",false,GUIEditor_Window[1]) GUIEditor_Edit[3] = guiCreateEdit(74,202,157,35,"",false,GUIEditor_Window[1]) GUIEditor_Edit[4] = guiCreateEdit(74,240,157,35,"",false,GUIEditor_Window[1]) GUIEditor_Label[5] = guiCreateLabel(10,208,63,21,"Usuario",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[5],255,255,255)) guiLabelSetVerticalAlign(GUIEditor_Label[5],"top"") guiSetFont(GUIEditor_Label[5],"default-bold-small") GUIEditor_Label[6] = guiCreateLabel(7,245,64,24,"Contrasena",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[6],255,255,255)) guiLabelSetVerticalAlign(GUIEditor_Label[6],"top"") guiSetFont(GUIEditor_Label[6],"default-bold-small") GUIEditor_Button[2] = guiCreateButton(133,284,101,31,"Registrarse",false,GUIEditor_Window[1]) GUIEditor_Button[3] = guiCreateButton(20,289,100,38,"Jugar Sin registrarse",false,GUIEditor_Window[1]) guiSetVisible(GUIEditor_Window[1],false) addEventHandler("onClientGUIClick",getRootElement(), function () if (source == GUIEditor_Button[3]) then guiSetVisible ( GUIEditor_Window[1], false ) showCursor(false) local localPlayer = getLocalPlayer ( ) function windowHandler( ) local playername = getPlayerName(localPlayer) guiSetText(LoginUsername, "") guiSetText(EditRegisterUsername, "") guiSetText(LoginUsername, playername) guiSetText(EditRegisterUsername, playername) guiSetVisible ( GUIEditor_Window[1], true ) guiSetInputEnabled(true) showCursor ( true ) end function onClickBtn ( button, state ) if (source == GUIEditor_Button[1]) then triggerServerEvent ( "onLogin", getRootElement(), localPlayer, guiGetText(LoginUsername), guiGetText(LoginPassword) ) end end function onClickBtn2 ( button, state ) if (source == GUIEditor_Button[2]) then triggerServerEvent ( "onRegister", getRootElement(), localPlayer, guiGetText(EditRegisterUsername), guiGetText(EditRegisterPassword)) end end function hideLoginWindow() guiSetInputEnabled(false) guiSetVisible ( GUIEditor_Window[1], false ) showCursor ( false ) end addEvent( "hideLoginWindow", true ) addEventHandler( "hideLoginWindow", getRootElement(), hideLoginWindow ) addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), windowHandler ) addEventHandler ( "onClientGUIClick", GUIEditor_Button[1], onClickBtn, false ) addEventHandler ( "onClientGUIClick", GUIEditor_Button[2], onClickBtn2, false ) Server Side: function onLogin ( player, user, pass ) local account = getAccount ( user, pass ) if ( account ~= false ) then if (logIn ( player, account, pass ) == true) then triggerClientEvent ( "hideLoginWindow", getRootElement()) else outputChatBox ( "Login error!", player, 255, 255, 0 ) -- Output they got the details wrong. end else outputChatBox ( "Wrong username or password!", player, 255, 255, 0 ) -- Output they got the details wrong. end end addEvent( "onLogin", true ) addEventHandler( "onLogin", getRootElement(), onLogin ) function onRegister ( player, user, pass ) local account = getAccount ( user, pass ) if ( account ~= false ) then if (logIn ( player, account, pass ) == true) then triggerClientEvent ( "hideLoginWindow", getRootElement()) else outputChatBox ( "Login error!", player, 255, 255, 0 ) -- Output they got the details wrong. end else account = addAccount ( user, pass ) if (logIn ( player, account, pass ) == true) then triggerClientEvent ( "hideLoginWindow", getRootElement()) else outputChatBox ( "Register/Login error!", player, 255, 255, 0 ) -- Output they got the details wrong. end end end addEvent( "onRegister", true ) addEventHandler( "onRegister", getRootElement(), onRegister ) y rly need help plz
-
any help to fix it plz?
-
sorry for double post but HELP!!!
-
i reuploaded image to tinypic now and edited post
-
why mi gta and mta is not opening i just formated my pc and reinstalling all and now i cant open my MTA on windows 7 it says: changing to basic colors of windows when i start GTASA and then gtasa never get opened and when i install MTA it shows me this screen: if you dont see image there is the info i get when opening MTA (Same as image) Version = 1.1-release-3055.0.000 Time = Sun Aug 28 13:36:04 2011 Module = C:\Windows\SYSTEM32\ntdll.dll Code = 0xC0000005 Offset = 0x00046B90 EAX=00000024 EBX=00000000 ECX=008E2C30 EDX=0022FCC4 ESI=00000024 EDI=00000020 EBP=0022FC44 ESP=0022FC30 EIP=77806B90 FLG=00010212 CS=001B DS=0023 SS=0023 ES=0023 FS=003B GS=0000 PLZ help me
-
i have need to know 2 things more plz i need to know how to put a text to advertice the hunter time will finish and a thing that dont let u push the button 1 time each 2 minutes to prevent spam
-
sorry for double post but i have this for the server side for the hunter button addEvent("premiumbuyhunter", true) addEventHandler("premiumbuyhunter", getRootElement(), function() if isPedInVehicle(source) then theVehicle = getPedOccupiedVehicle ( thePlayer ) setElementModel ( theVehicle, 425 )
-
this is the panel i have i really dont know how to finish the hunter part client: GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Window[1] = guiCreateWindow(161,215,687,337,"Premium!",false) GUIEditor_Label[1] = guiCreateLabel(15,30,524,37,"Utiliza estas Funciones Gratuitamente",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[1],0,255,0) guiLabelSetVerticalAlign(GUIEditor_Label[1],"center") guiSetFont(GUIEditor_Label[1],"sa-header") GUIEditor_Button[1] = guiCreateButton(21,95,155,26,"Hunter - 1 min",false,GUIEditor_Window[1]) GUIEditor_Button[2] = guiCreateButton(20,127,155,26,"Humo - Todo el map",false,GUIEditor_Window[1]) GUIEditor_Button[3] = guiCreateButton(20,158,155,26,"Reparar",false,GUIEditor_Window[1]) GUIEditor_Button[4] = guiCreateButton(20,193,155,26,"Nitro",false,GUIEditor_Window[1]) GUIEditor_Button[5] = guiCreateButton(99,126,5,5,"",false,GUIEditor_Button[4]) GUIEditor_Button[6] = guiCreateButton(19,228,155,26,"Invicible",false,GUIEditor_Window[1]) GUIEditor_Button[7] = guiCreateButton(214,93,155,26,"Indestructible",false,GUIEditor_Window[1]) GUIEditor_Button[8] = guiCreateButton(217,129,155,26,"rampa",false,GUIEditor_Window[1]) GUIEditor_Button[9] = guiCreateButton(398,280,275,46,"Cerrar [M]",false,GUIEditor_Window[1]) guiSetFont(GUIEditor_Button[9],"sa-header") GUIEditor_Button[10] = guiCreateButton(218,164,155,26,"Hay",false,GUIEditor_Window[1]) addEventHandler("onClientGUIClick",getRootElement(), function () if (source == GUIEditor_Button[9]) then guiSetVisible ( GUIEditor_Window[1], false ) showCursor(false) elseif (source == GUIEditor_Button[3]) then triggerServerEvent ("premiumbuyfix", getLocalPlayer()) elseif (source == GUIEditor_Button[4]) then triggerServerEvent ("premiumbuynitro", getLocalPlayer()) elseif (source == GUIEditor_Button[2]) then triggerServerEvent ("premiumbuysmoke", getLocalPlayer()) elseif (source == GUIEditor_Button[8]) then triggerServerEvent ("premiumbuyrampa", getLocalPlayer()) elseif (source == GUIEditor_Button[6]) then triggerServerEvent ("premiumbuyinvisible", getLocalPlayer()) elseif (source == GUIEditor_Button[7]) then triggerServerEvent ("premiumbuyindestructible", getLocalPlayer()) elseif (source == GUIEditor_Button[10]) then triggerServerEvent ("premiumbuyhay", getLocalPlayer()) elseif (source == GUIEditor_Button[1]) then triggerServerEvent ("premiumbuyhunter", getLocalPlayer()) end end) addEvent("openPremiumPanel",true) addEventHandler("openPremiumPanel",getRootElement(), function () guiSetVisible (GUIEditor_Window[1], not guiGetVisible(GUIEditor_Window[1])) showCursor(not isCursorShowing()) end) Server side : function showPremiumPanel(thePlayer) local account = getPlayerAccount(thePlayer) if account then local accountname = getAccountName(account) if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "premium" )) then triggerClientEvent (thePlayer, "openPremiumPanel", getRootElement()) else outputChatBox ("Premium: Accesso Denegado", thePlayer, 255, 0, 0) end end end addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource() ), function () for index, player in ipairs ( getElementsByType ( "player" ) ) do bindKey ( player, "M", "down", showPremiumPanel ) end end) addEventHandler ( "onPlayerJoin", getRootElement(), function () bindKey ( source, "M", "down", showPremiumPanel ) end) addEventHandler ( "onResourceStop", getResourceRootElement ( getThisResource() ), function () for index, player in ipairs ( getElementsByType ( "player" ) ) do unbindKey ( player, "M", "down", showPremiumPanel ) end end) addEvent("premiumbuysmoke", true) addEventHandler("premiumbuysmoke", getRootElement(), function() if isPedInVehicle(source) then local x, y, z = getElementPosition( source ) local car = getPedOccupiedVehicle( source ) local ramp = createObject ( 2780, 0, 0, 0, 0, 0, 0 ) attachElements ( ramp, car, 0, -5.255, 0, 0, 45, 118 ) setElementAlpha ( ramp, 0 ) outputChatBox("*Premium: "..getPlayerName(source).." Se Puso Humo",getRootElement(),0,255,0) end end) addEvent("premiumbuyfix", true) addEventHandler("premiumbuyfix", getRootElement(), function() if isPedInVehicle(source) then fixVehicle( getPedOccupiedVehicle(source) ) outputChatBox("*Premium: "..getPlayerName(source).." Se ha Reparado",getRootElement(),0,255,0) end end ) addEvent("premiumbuynitro", true) addEventHandler("premiumbuynitro", getRootElement(), function() if isPedInVehicle(source) then addVehicleUpgrade(getPedOccupiedVehicle(source),1010) outputChatBox("*Premium: "..getPlayerName(source).." Se Puso Nitro",getRootElement(),0,255,0) end end ) addEvent("premiumbuyrampa", true) addEventHandler("premiumbuyrampa", getRootElement(), function() if isPedInVehicle(source) then targetPlayerName = getPlayerFromName ( source ) x, y, z = getElementPosition( source ) car = getPedOccupiedVehicle( source ) ramp = createObject(1634, x, y, z, 0, 0, 0) attachElements(ramp, car, 0, 2, 0, 0, 0, 180) outputChatBox("*premium: "..getPlayerName(source).." Se Puso una Rampa!",getRootElement(),0,255,0) end end ) addEvent("premiumbuyinvisible", true) addEventHandler("premiumbuyinvisible", getRootElement(), function() if isPedInVehicle(source) then setElementAlpha(getPedOccupiedVehicle(source),0) setElementAlpha(source,0) setPlayerNametagShowing(source, false) setTimer(function() setElementAlpha(source,255) setElementAlpha(getPedOccupiedVehicle(source),255) setPlayerNametagShowing ( source, true )end,120000,1) outputChatBox("*Premium: "..getPlayerName(source).." Se iso Invicible!",getRootElement(),0,255,0) end end ) addEvent("premiumbuyindestructible", true) addEventHandler("premiumbuyindestructible", getRootElement(), function() if isPedInVehicle(source) then setVehicleDamageProof(getPedOccupiedVehicle(source),true) setTimer( setVehicleDamageProof, 60000, 1, getPedOccupiedVehicle(source), false) outputChatBox("*Premium: "..getPlayerName(source).." se iso Indestructible ",getRootElement(),0,255,0) end end ) addEvent("premiumbuyhay", true) addEventHandler("premiumbuyhay", getRootElement(), function() if isPedInVehicle(source) then x,y,z = getElementPosition( source ) setTimer(function()createObject ( 3374, x, y, z, 90, 0, 0 )end,3000,1) outputChatBox("*Botando Hay en 3 Segundos!",source,0,255,0) outputChatBox("*Premium: "..getPlayerName(source).." tiro un Hay!",getRootElement(),0,255,0) end end ) addEvent("premiumbuyhunter", true) addEventHandler("premiumbuyhunter", getRootElement(), function() if isPedInVehicle(source) then --there idk what to put to create the hunter by pressing the button "premiumbuyhunter" to create hunter by 1 min and then comimng back to old car-- attachElements ( smoke, car, 0, -5.255, 0, 0, 45, 118 )]
-
can u help me to make it? plz idk how
-
i need to make a script for race that if you press a button it gives a hunter for 1 min and then u come back to the last car which function i have to use ??? can someone help me making this part for me ?? its not a script its just a part of script, but idk how to make this part help me to make it plz
-
Nothing to say JUST AWESOME any chance to give or trade?
-
thx spyder to map whit u u have to show me some of your maps so i can see how its your mapping lvl or skills