
Ryder!
Members-
Posts
48 -
Joined
-
Last visited
Everything posted by Ryder!
-
MTASA wiki - offline copies / online mirrors
Ryder! replied to MX_Master's topic in Site/Forum/Discord/Mantis/Wiki related
link not working -
hay alguna lista por ahi de posiciones (coordenadas) utiles? por ejemplo las posiciones de las tiendas para poder ponerles iconos (blips) saludos
-
where is this code triggerEvent ( "showWindow", getLocalPlayer() ) post more try: triggerClientEvent (source,"hideLogin",source, username, password)
-
ok also, you should send to the clients all the "locations" table once and not separately, it's more efficient
-
post a screenshot of the folder where your files are
-
i dont know why it is not working is your locations.xml in the root folder of the resource?
-
is your xml file specified in the meta.xml?
-
what is the error exactly?
-
use xmlLoadFile
-
maybe giveWeapon (playerWhoUses, 3, 1, true) setPlayerNametagText (playerWhoUses, "[COP]" .. getPlayerName (playerWhoUses)) setPlayerSkin ( playerWhoUses, 280 )
-
thanks! now i have this error:
-
hi, i get this error while loading mta server root@debian:/home/gtachile/mta/Publico# ./mta-server & [2] 906 root@debian:/home/gtachile/mta/Publico# ./mta-server: error while loading shared libraries: /emul/ia32-linux/lib/libpcre.so.3: file too short [2]+ Done(127) ./mta-server On debian lenny 5 64bit
-
hi, i want to get the world position ( x,y ) when the player click somewhere inside the f11 map. this is what i have so far: function onMapShow(key, keystate) if keystate == "down" then if isPlayerMapVisible () then showCursor(true) else showCursor(false) end end end bindKey ( "F11", "down", onMapShow) function mapclick(button, state, x, y) if state == "down" then if isPlayerMapVisible () then local minX, minY, maxX, maxY = getPlayerMapBoundingBox () if x >= minX and x <= maxX then --HERE I WANT TO GET THE WORLD POSITION end end end end
-
maybe https://wiki.multitheftauto.com/wiki/Gui ... eLoadImage
-
function SayHello(player, command) outputChatBox("Hello Everyone") end addCommandHandler("hi", SayHello) use addCommandHandler for commands and addEventHandler for events.
-
ok thanks i will be waiting the patch =)
-
try <file src="xenon.mp3" type="client" />
-
try this addEventHandler ( "onResourceStart", getResourceRootElement( getThisResource() ), pedLoad )
-
onPlayerInteriorWarped This event is triggered when a player successfully warps to his destination interior. And the interior parameter is not the interior ID, it's the interior element.
-
onPlayerInteriorWarped is an event from interiors resource: https://wiki.multitheftauto.com/index.ph ... riorWarped
-
i enter from the outside world
-
it's just for debugging and no im not entering the outside world, it returns always 0 when entering for example: ammu nation, caligulas casino and with every interior.
-
function resourceStart() addEventHandler( "onPlayerInteriorWarped", getRootElement(), onInteriorEnter ) end addEventHandler( "onResourceStart", getResourceRootElement( getThisResource() ), resourceStart ) function onInteriorEnter( interior ) outputChatBox( tostring(getElementInterior( source ) ) ) --it output always 0 outputChatBox( getElementType ( interior ) ) --outputChatBox( tostring(getPlayerName( source ) ), source ) end the problem is that getElementInterior output always 0 when entering any interior =S I have only this script running and interiors. http://mta.pastebay.com/51409
-
setCameraTarget( source, source )