-
Posts
21,935 -
Joined
-
Last visited
-
Days Won
6
Everything posted by Castillo
-
not same since you can't use DFF files.
-
lol that one sounds like a edit of my PDA resource but dunno
-
Thats the point, i will upload this to mta community. ok, i've already made the e-mail system using sqlite to store their mail address and password (in md5 to don't let admins check their passwords) now if someone could give me a little info about something else, i'm starting to create a kind of browser. if you want to see the start of the resource go to this server: 77.160.183.15:22003 and type /openpc or /startpc /closepc or shutdown button to close it. edit: i forgot, double click on a icon to open
-
Dude, there are no FREE scripters, if you really want to get one you gotta pay for it, nothing is free.
-
I started to create a kind of computer system, for now just has email system at like 80% done.
-
maybe tell this to the mta paradise creator (mabako)?
-
well a friend decryped some files i encryped but the code wasn't same it had numbers simbols and some weird stuff on it .
-
do you mean that you need a program to encrpy lua files? if yes then download this, http://www.mediafire.com/?08ul44zogde48s5
-
client: s1=false s2=false function Hop(source) if (s1 and s2) then player = getLocalPlayer() triggerServerEvent ( "Hop", getLocalPlayer(),player) outputChatBox("KEWL") end end bindKey("1", "down", function() s1=true Hop() end) bindKey("1", "up", function() s1=false end) bindKey("2", "down", function() s2=true Hop() end) bindKey("2", "up", function() s2=false end) server: addEvent( "Hop", true ) function Hop (player) veh = getPedOccupiedVehicle(player) if veh then x,y,z = getElementVelocity(veh) setElementVelocity ( veh, x-0.5,y,z) outputChatBox("Dis KEWL Too!") end end addEventHandler( "Hop", getRootElement(), Hop )
-
can you explain me what must do?
-
client: s1=false s2=false function Hop(source) if (s1 and s2) then player = getLocalPlayer() triggerServerEvent ( "Hop", getLocalPlayer(),player) outputChatBox("KEWL") end end bindKey("1", "down", function() s1=true Hop() end) bindKey("1", "up", function() s1=false end) bindKey("2", "down", function() s2=true Hop() end) bindKey("2", "up", function() s2=false end) server: addEvent( "Hop", true ) function Hop (player) outputChatBox("Dis KEWL Too!") if getElementType( player ) == "vehicle" then x,y,z = getElementVelocity(player) setElementVelocity(player,x-0.5,y,z) end end addEventHandler( "Hop", getRootElement(), Hop ) i have changed 1=false and 2=false to s1 s2 cause it was making an error also i added player = getLocalPlayer() to trigger it to server side.
-
maybe you could use xml to make it easier (thats what i think) i think would be much faster to script/edit it.
-
server side: function pm (thePlayer) triggerClientEvent(thePlayer,"pm",thePlayer) end addEventHandler ( "onPlayerPrivateMessage", getRootElement(), pm ) client side: function playPmSound() local pmsound = playSound("1.mp3",false) setSoundVolume(pmsound, 0.9) end addEvent("pm",true) addEventHandler("pm",getRootElement(),playPmSound) should work.
-
uhm i didn't made that getLocalPlayer( thePlayer ) lol, i made it to be used server sided.
-
you can set skin by /createped 113 that will make a mafia boss skin, about rotation i never used it b4 so dunno how it works with peds.
-
try this, i've made it quickly may have a error with rotation. function makeAPed(thePlayer,command,skin) local x,y,z = getElementPosition(thePlayer) local x2,y2,z2 = getElementRotation(thePlayer) local myped = createPed(tostring(skin),x,y,z,x2,y2,z2) end addCommandHandler("createped",makeAPed)
-
easy, we learn for long time and get help from forums like others then we help others, etc, etc.
-
i've made a admin shout fully server side in the past for a server, here is the code if you want it, server.lua: function shout(player, cmd, ...) local accountname = getAccountName(getPlayerAccount(player)) if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "Admin" )) then for id, players in ipairs(getElementsByType("player")) do local message = table.concat({...}," ") local textDisplay = textCreateDisplay () local nombre = getPlayerName(player) local textItem2 = textCreateTextItem( ""..nombre, 0.5, 0.4, 2, 0, 255, 0, 255, 4, "center", "center" ) local textItem = textCreateTextItem( ""..message, 0.5, 0.5, 2, 205, 0, 0, 255, 3, "center", "center" ) textDisplayAddText ( textDisplay, textItem ) textDisplayAddText ( textDisplay, textItem2 ) textDisplayAddObserver ( textDisplay, players ) setTimer ( textDestroyTextItem, 5000, 1, textItem ) setTimer ( textDestroyTextItem, 5000, 1, textItem2 ) setTimer ( textDestroyDisplay, 5000, 1, textDisplay ) else outputChatBox("You can not use this commad!",player,255,12,15) end end end addCommandHandler("shout", shout) meta.xml: <meta> <info name="Admin shout" author="Castillo" version="1.0" type="script" /> <script src="server.lua" type="server"/> </meta>
-
if i'm right j-rpg does this, find in the resource the function that does that and remove it maybe.
-
you are using the event when he enters the hydra, the hydra won't get 230 of speed when you enter on it..
-
omg, i said not error in debug i mean the ERROR you are talking about.
-
if i'm that solidsnake then i don't script either for race i actually made that for someone that needed it if i remember well, i made some scripts for race just for friends.
-
Damn i saw like 5 servers with Mabako's rp mode already.. will sound like samp's god father rp mode
