Foros | General | Noticias y actualidad | PC | Xbox 360 | Xbox | PlayStation 3 | PlayStation 2 | Nintendo Wii | GameCube | Nintendo DS | PSP | Celular | Retro | Peticiones de juegos
ene 12 2009

Hola a todos, bueno ballamos al grano,

Les iere indicando paso por paso para que no se pierdan, cualquier cosa que no entiendan (o quieran agradecerme XD) dejen un comentario…..

Paso1: Primero deven descargar este programa que les permitira editar y crear mapas mapa (suvido por mi).

Link: http://www.megaupload.com/?d=HKLM3AP4

paso2: Creen un mapa con varias stunts XD

paso3: despues de hacer su mapa descargen o lean esta guia echa por un amigo.

Descargar: http://rapidshare.com/files/181937923/Tutorial_como_poner_stunt_creados_por_MTA.txt.html

Guia para ponerle stunts a tu server

Bueno esto me lo preguntado muchas veces los amantes del stunt:
Bueno ay muchas cosas buenas y malas sobre los objetos:
1.- el crash en el serer
2.-divertirce

Bueno como algunos asen el la pagina de pasar mapa transforman su mapa de mta a pawn
Bueno eso si fnciona en el server pero crea mucho crash

ahora les enseñare los xObjects

—————————————————————————-
Pofavor lean lo siguente con mucho cuidado:
como primero deberan ir a la pagina paratransformar el mapa aki les dejo un link
http://gtamap.delux-host.com/converter/old/

Bueno les dire primero les saldra el primer numero en grande ke dice 1. y sale para exainar lo ke kieres transformar, ay buscan el mapa.

Despues les saldra el numero 2 en grande al lado del 1 y saldra el formato ke kieren ustedes pondran para no tener tanta crash el xObject streamer y lo marcan.

Despues van donde dice en grande COVERT MAP >>
y pulsan ay.

Despues les saldra algo como esto

Success: Your map has been converted

Your Nº de objects in your script have been successfully converted into your target format. This was the 226365. map convertion since we launched this service.

y mas abajo les aldra un cuadro con cordenadas.
Buenoasta ay vamos perfecto.

despues de eso deberan crear un filter script abren un pawn ponen new y boran todo ke no kede nada!

y pegan este codigo:

#include <a_samp>

forward Timer();
forward SetPlayerPosWithObjects(playerid,Float:x,Float:y,Float:z);
/*
SetPlayerPosWithObjects usage in your gamemode:

CallRemoteFunction(“SetPlayerPosWithObjects”,”ifff”,playerid,newx,newy,newz);
*/

//——————————————————————————

enum object_info
{
modelid,
Float:ox,
Float:oy,
Float:oz,
Float:orx,
Float:ory,
Float:orz,
Float:viewdist
}

new Objects[][object_info] ={

debe estar exactamente igual
exactamente igual.

debajo de new objects [][object_info] ={

pegan las corenadas ke transformaron en el covertidor de mapas. ej:

#include <a_samp>

forward Timer();
forward SetPlayerPosWithObjects(playerid,Float:x,Float:y,Float:z);
/*
SetPlayerPosWithObjects usage in your gamemode:

CallRemoteFunction(“SetPlayerPosWithObjects”,”ifff”,playerid,newx,newy,newz);
*/

//——————————————————————————

enum object_info
{
modelid,
Float:ox,
Float:oy,
Float:oz,
Float:orx,
Float:ory,
Float:orz,
Float:viewdist
}

new Objects[][object_info] ={

{669, 2490.4739, -1669.5168, 12.6589, 0.0000, 0.0000, 337.5000, 500.0},
{10985, 2370.9670, -1730.0005, -325.4350, 0.0000, 0.0000, 0.0000, 500.0},
{1776, 2533.6909, -1664.1740, 15.2657, 0.0000, 0.0000, 270.0000, 500.0},
{1302, 2534.0972, -1665.4550, 14.1630, 0.0000, 0.0000, 270.0000, 500.0},
{3279, 2703.7654, -2343.5313, 12.7084, 0.0000, 0.0000, 0.0000, 500.0},
{1550, 2592.5171, -2306.1902, -16.3316, 0.0000, 0.0000, 0.0000, 500.0},
{1550, 2446.8474, -2864.4612, -26.4899, 0.0000, 0.0000, 0.0000, 500.0},
{1212, 2447.0981, -2863.5747, -26.0944, 0.0000, 0.0000, 0.0000, 500.0},
{1212, 2447.4524, -2863.8096, -26.3632, 0.0000, 0.0000, 0.0000, 500.0},
{1212, 2446.6284, -2864.0671, -26.4031, 0.0000, 0.0000, 0.0000, 500.0},
{1212, 2446.6694, -2864.0840, -26.4057, 0.0000, 0.0000, 0.0000, 500.0},
{1212, 2447.7043, -2864.3215, -26.4425, 0.0000, 0.0000, 0.0000, 500.0},
{1212, 2448.4185, -2863.2507, -26.2766, 0.0000, 0.0000, 0.0000, 500.0},
{1212, 2438.2861, -2856.3831, -25.3241, 0.0000, 0.0000, 0.0000, 500.0},
{1212, 2445.7656, -2863.0249, -26.2416, 0.0000, 0.0000, 0.0000, 500.0},
{1212, 2445.6536, -2859.8179, -25.7517, 0.0000, 0.0000, 0.0000, 500.0},
{1212, 2446.8555, -2858.9211, -25.6401, 0.0000, 0.0000, 0.0000, 500.0},
{1212, 2447.8062, -2862.3164, -26.1319, 0.0000, 0.0000, 0.0000, 500.0},
{1212, 2448.7273, -2862.1941, -26.1129, 0.0000, 0.0000, 0.0000, 500.0},
{1212, 2449.7141, -2854.3633, -25.0726, 0.0000, 0.0000, 0.0000, 500.0},
{1212, 2448.2939, -2830.1216, -22.0543, 0.0000, 0.0000, 0.0000, 500.0},
{1212, 2446.1489, -2865.9509, -26.4626, 0.0000, 0.0000, 0.0000, 500.0},
{1212, 2447.5588, -2864.5327, -26.2429, 0.0000, 0.0000, 0.0000, 500.0},
{1212, 2445.5076, -2862.8489, -26.2144, 0.0000, 0.0000, 0.0000, 500.0},
{1212, 2450.1943, -2864.2793, -26.4360, 0.0000, 0.0000, 0.0000, 500.0},
{1212, 2447.6045, -2863.1438, -26.2601, 0.0000, 0.0000, 0.0000, 500.0},
{1644, 660.5214, -1879.3684, 3.7271, 0.0000, 0.0000, 191.2500, 500.0},
{2710, 1139.8197, -2028.1724, 68.1082, 0.0000, 0.0000, 22.5000, 500.0},
{1242, 1124.0255, -2033.8684, 69.1198, 0.0000, 0.0000, 0.0000, 500.0},
{1242, 2144.3887, -2584.4080, 12.7743, 0.0000, 0.0000, 56.2500, 500.0},
{1242, 2775.8882, -2445.0391, 12.8640, 0.0000, 0.0000, 11.2500, 500.0},
{1242, 2777.0007, -2445.0981, 12.8637, 0.0000, 0.0000, 0.0000, 500.0},
{1242, 2777.5747, -2445.1074, 12.8636, 0.0000, 0.0000, 326.2500, 500.0},
{1242, 2776.4204, -2445.0566, 12.8639, 0.0000, 0.0000, 0.0000, 500.0},
{1276, 682.9481, -1714.1117, 2.6732, 0.0000, 0.0000, 0.0000, 500.0},
{1310, 154.1215, -1952.4778, 50.8071, 0.0000, 0.0000, 0.0000, 500.0},
{1310, 1565.4677, -1359.1196, 329.5219, 0.0000, 0.0000, 281.2500, 500.0},
{1310, 1563.1694, -1346.1897, 329.5262, 0.0000, 0.0000, 281.2500, 500.0},
{1310, 1552.0339, -1337.8611, 329.5232, 0.0000, 0.0000, 337.5001, 500.0},
{1310, 1537.3979, -1337.8650, 329.5225, 0.0000, 0.0000, 22.5001, 500.0},
{1310, 1526.0610, -1346.1532, 329.5216, 0.0000, 0.0000, 67.5002, 500.0},
{1310, 1523.4661, -1358.9861, 329.5220, 0.0000, 0.0000, 90.0002, 500.0},
{1310, 1530.8280, -1370.4346, 329.5258, 0.0000, 0.0000, 135.0002, 500.0},
{1310, 1544.5709, -1374.6792, 329.5217, 0.0000, 0.0000, 180.0002, 500.0},
{1310, 1558.2859, -1370.3004, 329.5197, 0.0000, 0.0000, 225.0004, 500.0},
{8406, 2733.2317, -2467.2700, 21.4499, 0.0000, 0.0000, 90.0000, 500.0},
{10281, 2919.4590, -2668.0413, -281.3319, 0.0000, 0.0000, 90.0002, 500.0},
{969, 2720.2310, -2409.5000, 12.4509, 0.0000, 0.0000, 90.0000, 500.0},
{8209, 2810.5964, -2379.5566, 15.7291, 0.0000, 0.0000, 90.0000, 500.0},
{8209, 2810.5930, -2479.0359, 15.7286, 0.0000, 0.0000, 90.0000, 500.0},
{8209, 2761.2007, -2329.4019, 15.7338, 0.0000, 0.0000, 180.0000, 500.0},
{3879, 2625.9216, -2347.1768, 36.5100, 0.0000, 0.0000, 0.0000, 500.0},
{5155, 2985.2256, -2035.1929, -61.8012, 0.0000, 0.0000, 303.7500, 500.0},
{5166, 2992.6472, -2136.0398, -75.2958, 0.0000, 0.0000, 33.7500, 500.0},
{1771, 2803.4956, -2554.8557, 13.2609, 0.0000, 0.0000, 0.0000, 500.0},
{2514, 2794.0464, -2556.3118, 12.6315, 0.0000, 0.0000, 146.2500, 500.0},
{14527, 2798.4172, -2553.3059, 13.6655, 0.0000, 0.0000, 0.0000, 500.0},
{3359, 2799.1558, -2552.7654, 12.6347, 0.0000, 0.0000, 180.0000, 500.0},
{2511, 2797.5488, -2549.7314, 13.0588, 0.0000, 0.0000, 90.0000, 500.0},
{1683, 2033.2286, -2594.9580, 19.4671, 0.0000, 0.0000, 180.0000, 500.0},
{1681, 2095.2327, -2449.0916, 15.5249, 0.0000, 0.0000, 168.7500, 500.0},
{616, 2806.0005, -2548.6265, 12.6205, 0.0000, 0.0000, 0.0000, 500.0},
{691, 2770.1587, -2379.5867, 13.0803, 0.0000, 0.0000, 0.0000, 500.0},
{677, 2733.9636, -2452.6304, 12.6531, 0.0000, 0.0000, 0.0000, 500.0},
{3810, 2800.9756, -2547.8252, 15.5547, 0.0000, 0.0000, 90.0000, 500.0},
{630, 2775.6221, -2467.1025, 13.6625, 0.0000, 0.0000, 0.0000, 500.0},
{1599, 2993.0786, -2042.2992, -52.9212, 0.0000, 0.0000, 0.0000, 500.0},
{1600, 2991.2949, -2027.9279, -57.1287, 0.0000, 0.0000, 0.0000, 500.0},
{1605, 3004.7058, -2038.4805, -55.0195, 0.0000, 0.0000, 0.0000, 500.0},
{1607, 2988.8477, -2020.2281, -63.4829, 0.0000, 0.0000, 0.0000, 500.0},
{902, 2999.7229, -2048.1624, -63.9736, 0.0000, 0.0000, 0.0000, 500.0},
{902, 3025.1865, -2172.9841, -381.3736, 0.0000, 0.0000, 0.0000, 500.0},
{903, 3006.7363, -2046.6012, -58.1041, 0.0000, 0.0000, 0.0000, 500.0},
{1598, 3156.7180, -1787.4440, 0.2751, 0.0000, 0.0000, 0.0000, 500.0},
{1608, 2606.0322, -2732.3545, -12.1053, 0.0000, 0.0000, 0.0000, 500.0},
{1608, 2980.4897, -2085.8267, -61.7302, 0.0000, 0.0000, 0.0000, 500.0},
{1610, 367.6269, -1879.8322, 1.6487, 0.0000, 0.0000, 0.0000, 500.0},
{1611, 347.5049, -1905.5851, -0.3992, 0.0000, 0.0000, 0.0000, 500.0},
{953, 367.8843, -1962.7356, -6.1223, 0.0000, 0.0000, 0.0000, 500.0},
{3292, 584.7186, -1998.7153, -11.6313, 0.0000, 0.0000, 0.0000, 500.0},
{1608, 588.4482, -1998.3601, -9.4713, 0.0000, 0.0000, 0.0000, 500.0},
{969, 584.5499, -1988.4511, -10.3378, 0.0000, 0.0000, 0.0000, 500.0},
{1443, 2804.4275, -2548.8633, 13.2599, 0.0000, 0.0000, 112.5000, 500.0},
{2587, 2795.1890, -2547.5254, 13.1035, 0.0000, 0.0000, 180.0000, 500.0},
{2588, 2793.5942, -2555.9590, 14.1336, 0.0000, 0.0000, 90.0000, 500.0},
{2599, 2794.1582, -2549.3103, 13.0978, 0.0000, 0.0000, 247.5000, 500.0},
{2578, 2793.8193, -2551.3418, 13.6311, 0.0000, 0.0000, 90.0000, 500.0},
{2579, 2793.8174, -2552.3777, 13.6308, 0.0000, 0.0000, 90.0000, 500.0},
{2581, 2796.7803, -2556.3938, 13.7845, 0.0000, 0.0000, 180.0000, 500.0},
{2582, 2798.5789, -2556.3125, 13.4998, 0.0000, 0.0000, 180.0000, 500.0},
{2583, 2800.0640, -2556.3049, 13.4998, 0.0000, 0.0000, 180.0000, 500.0},
{2584, 2800.8960, -2548.8723, 13.4488, 0.0000, 0.0000, 270.0000, 500.0},
{2585, 2793.8313, -2553.4094, 13.6306, 0.0000, 0.0000, 90.0000, 500.0},
{2586, 2803.9651, -2551.3391, 13.1449, 0.0000, 0.0000, 270.0000, 500.0},
{2601, 2803.7327, -2550.3767, 13.7466, 0.0000, 0.0000, 0.0000, 500.0},
{2751, 2803.9126, -2552.1348, 13.7100, 0.0000, 0.0000, 0.0000, 500.0},
{2752, 2804.0371, -2551.8267, 13.6632, 0.0000, 0.0000, 0.0000, 500.0},
{14651, 2786.9387, -2448.1926, 14.8753, 0.0000, 0.0000, 270.0000, 500.0},
{14666, 2804.8337, -2554.9524, 14.3510, 0.0000, 0.0000, 180.0000, 500.0},
{14890, 2803.8958, -2551.4153, 13.6966, 0.0000, 0.0000, 270.0000, 500.0},
{1718, 2802.7942, -2548.7639, 12.8590, 0.0000, 0.0000, 0.0000, 500.0},
{1778, 2794.3318, -2554.5710, 12.6309, 0.0000, 0.0000, 292.5000, 500.0},
{2344, 2804.0693, -2550.6184, 13.6733, 0.0000, 0.0000, 326.2500, 500.0},
{14532, 2802.8225, -2548.7488, 13.6102, 0.0000, 0.0000, 180.0000, 500.0} <—– aki no!!!! va coma solo en el “”ULTIMO”" DEL PAWN NO VA COMA SOLO LA ULTIMA CORDENADA VA SIN COMA.

despues de agregar las cordenadas y sacarle la coma al ultimo objeto agregan este codigo exactamente igual.

};

enum player_info
{
objid[sizeof(Objects)],
bool:view[sizeof(Objects)]
}
new Player[MAX_PLAYERS][player_info];

//——————————————————————————

bool:IsInReach(Float:x,Float:y,Float:z,Float:x2,Float:y2,Float:z2,Float:dist)
{
x = (x > x2) ? x – x2 : x2 – x;
if(x > dist) return false;
y = (y > y2) ? y – y2 : y2 – y;
if(y > dist) return false;
z = (z > z2) ? z – z2 : z2 – z;
if(z > dist) return false;
return true;
}

//——————————————————————————

new timer;

public OnFilterScriptInit()
{
print(“   Loaded successful.”);
timer = SetTimer(“Timer”,1000,1);
return 1;
}

public OnFilterScriptExit()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
for(new o = 0; o < sizeof(Objects); o++)
{
if(Player[i][view][o])
{
Player[i][view][o] = false;
DestroyPlayerObject(i,Player[i][objid][o]);
}
}
}
KillTimer(timer);
}

//——————————————————————————

public OnPlayerConnect(playerid)
{
for(new i = 0; i < sizeof(Objects); i++) Player[playerid][view][i] = false;
}

public OnPlayerDisconnect(playerid)
{
for(new i = 0; i < sizeof(Objects); i++)
{
if(Player[playerid][view][i])
{
Player[playerid][view][i] = false;
DestroyPlayerObject(playerid,Player[playerid][objid][i]);
}
}
}

//——————————————————————————

public Timer()
{
for(new i = 0; i < MAX_PLAYERS; i++)
if(IsPlayerConnected(i))
PlayerObjectUpdate(i);
}

PlayerObjectUpdate(playerid)
{
new Float:pos[3];
GetPlayerPos(playerid,pos[0],pos[1],pos[2]);
for(new i = 0; i < sizeof(Objects); i++)
{
if(!Player[playerid][view][i])
{
if(IsInReach(pos[0],pos[1],pos[2],Objects[i][ox],Objects[i][oy],Objects[i][oz],Objects[i][viewdist]))
{
Player[playerid][view][i] = true;
Player[playerid][objid][i] = CreatePlayerObject(playerid,Objects[i][modelid],Objects[i][ox],Objects[i][oy],Objects[i][oz],Objects[i][orx],Objects[i][ory],Objects[i][orz]);
}
} else if(!IsInReach(pos[0],pos[1],pos[2],Objects[i][ox],Objects[i][oy],Objects[i][oz],Objects[i][viewdist]))
{
Player[playerid][view][i] = false;
DestroyPlayerObject(playerid,Player[playerid][objid][i]);
}
}
}

public SetPlayerPosWithObjects(playerid,Float:x,Float:y,Float:z)
{
for(new i = 0; i < sizeof(Objects); i++)
{
if(!Player[playerid][view][i])
{
if(IsInReach(x,y,z,Objects[i][ox],Objects[i][oy],Objects[i][oz],Objects[i][viewdist]))
{
Player[playerid][view][i] = true;
Player[playerid][objid][i] = CreatePlayerObject(playerid,Objects[i][modelid],Objects[i][ox],Objects[i][oy],Objects[i][oz],Objects[i][orx],Objects[i][ory],Objects[i][orz]);
}
} else if(!IsInReach(x,y,z,Objects[i][ox],Objects[i][oy],Objects[i][oz],Objects[i][viewdist]))
{
Player[playerid][view][i] = false;
DestroyPlayerObject(playerid,Player[playerid][objid][i]);
}
}
SetPlayerPos(playerid,Float:x,Float:y,Float:z);
}

public OnPlayerSpawn(playerid)
PlayerObjectUpdate(playerid);

eso seria todo GRACIAS

By [ExsT]pinocho ip de server: 201.214.82.97:8787
pagina web: www.extreme-stun-tage.comze.com

Bueno eso es todo no es tan complicado XD

aqui la ip de algunos de los servers que me an pedido que los incluya en este post

Este necesita gente: 190.161.45.79:7777 (si le dicen al admin de este server “La ip me la dio FSM” reciviran un trato especial)

Esre es del amigo que iso la guia: 201.214.82.97:8787

Este es mi server: 190.160.69.80:7777 (no es muy bueno pero pronto lo sera)


Mensaje Privado
10668 Visitas


FavoriteLoadingAñadir a favoritos



Categoria: Tutoriales y Ayuda

Comentarios Feed RSS RSS

Comentarios Comentar

Deja tu comentario

Debes iniciar sesion para poder enviar un comentario.

Get Adobe Flash playerPlugin by wpburn.com wordpress themes
GratisJuegos.org es una Web perteneciente a Tu Locura