-
Posts
2,608 -
Joined
-
Last visited
Everything posted by 12p
-
EDIT: Ah espera, tu dices usarlo en el server?
-
Good job. But I hope you won't release it, in fact.
-
Say thanks to John, he's the one who gave you the solution. I just gave you the steps to set windowed mode
-
That means there are parenthesis BEFORE exports. local przedmiot = createObject( 1210,0,0,0 ) local gracz = getLocalPlayer () --You forgot parenthesis function przyczepPrzedmiot () --Parenthesis here exports.bone_attach:attachElementToBone(przedmiot,gracz,12,0,0,0,0,0,0) end addCommandHandler ( "przyczep", przyczepPrzedmiot ) Lol, my bad
-
Any error using "/debugscript 3"?
-
Only the real noob, childish scripters do that. Relax przedmioty.lua local przedmiot = createObject( 1210,0,0,0 ) local gracz = getLocalPlayer () --You forgot parenthesis function przyczepPrzedmiot exports.bone_attach:attachElementToBone(przedmiot,gracz,12,0,0,0,0,0,0) end addCommandHandler ( "przyczep", przyczepPrzedmiot )
-
How to set windowed mode out from MTA Go to your MTA installation path (default is "C:/Program Files/Multi Theft Auto San Andreas"). Go to "MTA" folder. Open "coreconfig.xml" in any text editor. Find this: 0 Replace "0" by "1", it must be: 1. Save the file. Try MTA now.
-
JUST THINK A BIT, PLEASE. That script will obviously make a non-working text. You must use a simple math to retrieve X and Y from the screen size (clue: use divition).
-
Evil, you are wrong. LOOK COMMENTS PLEASE: (WRONG SCRIPT) local MarkerSWAT = createMarker( 1285.8000488281, -1613, 13.5, 'corona', 15.0, 0, 0, 255, 0) local swatgate1 = createObject(980, 1287, -1612.59997559, 15.30000019, 0, 0, 90) function cteam() createTeam("swat", 0, 0, 255) end addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), cteam) function MarkerHit1(thePlayer, hitElement, matchingDimension )) --1 extra parenthesis, also this function only has 2 arguments: hitElement and matchingDimension local team = getPlayerTeam(player) --where is "player" defined? local name = getTeamName(team) if name == "swat" then moveObject(swatgate1, 3000, 1287, -1612.59997559, 9.60000038) end end addEventHandler( "onMarkerHit", MarkerSWAT, MarkerHit1 ) function MarkerLeave1( leaveElement, matchingDimension ) local team = getPlayerTeam(player) --where is "player" defined? local name = getTeamName(team) if name == "swat" then moveObject(swatgate1, 3000, 1287, -1612.59997559, 15.30000019) end end addEventHandler( "onMarkerLeave", MarkerSWAT, MarkerLeave1) GOOD CODE: local swatTeam = createTeam("swat", 0, 0, 255) local MarkerSWAT = createMarker( 1285.8000488281, -1613, 13.5, 'corona', 15.0, 0, 0, 255, 0) local swatgate1 = createObject(980, 1287, -1612.59997559, 15.30000019, 0, 0, 90) function MarkerHit1 ( hitElement, matchingDimension ) if getPlayerTeam(hitElement) == swatTeam then moveObject(swatgate1, 3000, 1287, -1612.59997559, 9.60000038) end end function MarkerLeave1( leaveElement, matchingDimension ) if getPlayerTeam(leaveElement) == swatTeam then moveObject(swatgate1, 3000, 1287, -1612.59997559, 15.30000019) end end addEventHandler( "onMarkerHit", MarkerSWAT, MarkerHit1 ) addEventHandler( "onMarkerLeave", MarkerSWAT, MarkerLeave1 )
-
player is never defined on any function. local swatTeam = createTeam("swat", 0, 0, 255) local MarkerSWAT = createMarker( 1285.8000488281, -1613, 13.5, 'corona', 15.0, 0, 0, 255, 0) local swatgate1 = createObject(980, 1287, -1612.59997559, 15.30000019, 0, 0, 90) function MarkerHit1 ( hitElement, matchingDimension ) if getPlayerTeam(hitElement) == swatTeam then moveObject(swatgate1, 3000, 1287, -1612.59997559, 9.60000038) end end function MarkerLeave1( leaveElement, matchingDimension ) if getPlayerTeam(leaveElement) == swatTeam then moveObject(swatgate1, 3000, 1287, -1612.59997559, 15.30000019) end end addEventHandler( "onMarkerHit", MarkerSWAT, MarkerHit1 ) addEventHandler( "onMarkerLeave", MarkerSWAT, MarkerLeave1 )
-
setWaterLevel Fíjate en los argumentos, sergio.
-
*Removed
-
Probably a wrong-listed server functions. Help us; try to make a script using getPedAnimation server sided. If it works, then I will personally fix the wiki pages you say are not working properly
-
viewtopic.php?f=108&t=24262 You need to get race gamemode "client_anim.lua" script. For further info, check: viewtopic.php?f=108&t=24262&start=30#p382009 There's ABSOLUTELY NO NEED to create an image just for displaying text, you can use DirectX text and BankGothic font for a good-looking feature
-
For me that looks great. Maybe color it a bit blue (just a bit, like HEX:000033)
-
Suggestion for forums! [CLOSE IT PLEASE]
12p replied to 12p's topic in Site/Forum/Discord/Mantis/Wiki related
Any MOD please close this topic before more people like Spanish create replies about testing an already tested new feature... -
No, pregunto simplemente: ¿CÓMO CREAS AGUA CON EL MAP EDITOR?
-
@John: Probably it won't be the same effect. The most powerful explosion I created with it made my camera shake as nothing making sense on the world. It won't work good.
-
Suggestion for forums! [CLOSE IT PLEASE]
12p replied to 12p's topic in Site/Forum/Discord/Mantis/Wiki related
You are the best
