Meu primeiro mapa na ssgames então eu resolvir fazer uma hq da rota bem top =D
Print's
Coloce em public OnPlayerConnect(playerid)
Download do Mapa
[/code]http://pastebin.com/NMWUQN6L
Portão !
Print's
- Código:
if(strcmp(cmd, "/prota", true) == 0)
{
if (PlayerInfo[playerid][pMembro] == //Numero da org || PlayerInfo[playerid][pLider] == //NUMERO DA org)
{
if(PlayerToPoint(15.0, playerid, 763.5000000,-1813.9000200,15.4000000))
{
MoveObject( rota, 1763.5, -1813.9000244141, 9.8000001907349,3);
GameTextForPlayer(playerid, "~w~Portao R.O.T.A ~n~~r~~h~Aberto", 5000, 3);
SetTimer("rota2", 5000, false);
}
}
return 1;
}
new rota;
rota; = CreateObject(980,1763.5000000,-1813.9000200,15.4000000,0.0000000,0.0000000,344.2500000); //portao da rota
forward fechararota();
public fechararota()
{
MoveObject( rota, 763.5000000,-1813.9000200,15.4000000,3);
}
forward Portaorota2();
Coloce em public OnPlayerConnect(playerid)
- Código:
RemoveBuildingForPlayer(playerid, 4025, 1777.8359, -1773.9063, 12.5234, 0.25);
RemoveBuildingForPlayer(playerid, 4070, 1719.7422, -1770.7813, 23.4297, 0.25);
RemoveBuildingForPlayer(playerid, 1531, 1724.7344, -1741.5000, 14.1016, 0.25);
RemoveBuildingForPlayer(playerid, 4215, 1777.5547, -1775.0391, 36.7500, 0.25);
RemoveBuildingForPlayer(playerid, 620, 1700.8516, -1778.3984, 12.4922, 0.25);
RemoveBuildingForPlayer(playerid, 620, 1701.3047, -1794.4297, 12.5469, 0.25);
RemoveBuildingForPlayer(playerid, 620, 1701.1484, -1753.2266, 12.3516, 0.25);
RemoveBuildingForPlayer(playerid, 620, 1701.2578, -1764.4844, 12.4375, 0.25);
RemoveBuildingForPlayer(playerid, 620, 1700.8984, -1743.9844, 12.4531, 0.25);
RemoveBuildingForPlayer(playerid, 3986, 1719.7422, -1770.7813, 23.4297, 0.25);
RemoveBuildingForPlayer(playerid, 647, 1791.1797, -1816.6328, 14.6250, 0.25);
RemoveBuildingForPlayer(playerid, 700, 1788.5078, -1816.5703, 13.3516, 0.25);
RemoveBuildingForPlayer(playerid, 647, 1796.9609, -1817.3906, 14.6250, 0.25);
RemoveBuildingForPlayer(playerid, 700, 1801.8828, -1817.3047, 13.3516, 0.25);
RemoveBuildingForPlayer(playerid, 4019, 1777.8359, -1773.9063, 12.5234, 0.25);
Download do Mapa
[/code]http://pastebin.com/NMWUQN6L
Portão !
Última edição por Derek_Script em Qua 1 maio 2013 - 16:16, editado 1 vez(es)