[Ajuda] Gamemode - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Gamemode (
/showthread.php?tid=387443)
Gamemode -
Vinicius_TroLL - 24.10.2012
Eu vou editar um gm pra mim por no meu host o Brasil Hyper Life mais sу q a entrada pra loja de armas 1 e 2 nгo entra na loja de armas certa...e eu ja tentei pegar a cordenada da loja q entra mais nгo da...Eae alguem me ajuda por favor ? ALguem q ja passou por isto...Por favor dou + Repppppps
Re: Gamemode -
matheuspain - 24.10.2012
Se eu nгo me engano vocк bota isso na public OnPlayerCommandText(playerid, cmdtext[])
Cara nгo entendi direito oque vocк quis dizer , mais eu acho que й isso
Код:
else if (PlayerToPoint(1.0, playerid,2496.0398,-1692.0844,1014.7422))
{
// Saida Loja de Armas 1
SetPlayerPos(playerid, CORDENADA DA SAIDA);
SetPlayerInterior(playerid,0);
SetPlayerFacingAngle(playerid, 4.0967);
PlayerInfo[playerid][pInt] = 0;
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo[playerid][pLocal] = 255;
}
else if(PlayerToPoint(3.0, playerid, CORDENADA DA ENTRADA))
{//ENTRADA Loja de Armas 1
GameTextForPlayer(playerid, "~w~Loja de Armas 1", 5000, 1);
SetPlayerInterior(playerid, 18);
SetPlayerPos(playerid,Cordenada do Interior);
PlayerInfo[playerid][pInt] = 18;
SetPlayerVirtualWorld(playerid, 0);
}
Eu acho que vocк sabe pegar a cordenada neh ? /save '-'
Mano tentei ajudar n sei se й isso , pelo que eu entendi й isso que vocк estб com dificuldade de fazer.
Re: Gamemode -
Vinicius_TroLL - 24.10.2012
Vou te explicar melhor...Sabe o gm brasil hyper life ? Eu baixei ele...Ai nele tem a loja de armas 1...Mais quando o player aperta enter na entrada ele nao entra onde deveria...Ele vai para outro interior
Re: Gamemode -
Diogo123 - 24.10.2012
verifica se a coordenada estб certa e pega o interior certo '-'
Re: Gamemode -
Vinicius_TroLL - 24.10.2012
Ja fiz isto...
Re: Gamemode -
matheuspain - 24.10.2012
Olha vocк aperta enter , dai ta bom vai entrar , na hora que entrar vocк da /save sem se movimentar pega a cordenada , vai no gm e troca ela pro Interior que vocк quer !
Re: Gamemode -
Vinicius_TroLL - 24.10.2012
Consegui, Scriptfilles errado...Obrigado + rep pra quem tentou ajudar