[Ajuda] gangzone - 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] gangzone (
/showthread.php?tid=486652)
gangzone -
Canema - 09.01.2014
Bom vim aqui pedir ajuda pois estou com um problema na GZ,
Код:
stock IsPlayerInCasarao(playerid)
{
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid, x, y, z);
if(x >= 1098.173 && y >= -2084.531 && x <= 1299.723 && y <= -2005.577) return 1;
else return 0;
}
Nгo entendendo o que й esse Stock e o resto do code ! Quem puder me ajudar agraзo desde jб !
Re: Ajuda gz -
unamed - 09.01.2014
pawn Код:
stock IsPlayerInCasarao(playerid)
{
new Float:x,Float:y,Float:z; //Cria as variaveis para pegar a posiзгo do player
GetPlayerPos(playerid, x, y, z); // Pega a posiзгo do player
if(x >= 1098.173 && y >= -2084.531 && x <= 1299.723 && y <= -2005.577) return 1; //Se o player tiver nestas coordenadas volta com "sinal"
else return 0; //senгo nгo manda o "tal sinal"
}
Re: Ajuda gz -
Canema - 09.01.2014
Ta mais como eu pego essas coordenadas eu tenho as coordenadas da GZ Serve ? 2406.349, -979.1639, 2588.885, -927.8433
Re: Ajuda gz -
unamed - 09.01.2014
pawn Код:
stock IsPlayerInGZ(playerid)
{
new Float:x,Float:y,Float:z; //Cria as variaveis para pegar a posiзгo do player
GetPlayerPos(playerid, x, y, z); // Pega a posiзгo do player
if(x == 2406.349 && y == -979.1639 && z == 2588.885) //Verifica se o player ta no local
return 1;
}
dps meta este code abaixo logo no topo do comando
pawn Код:
if(!IsPlayerInGZ(playerid)) return SendClientMessage("vc n ta no local");
Re: Ajuda gz -
Canema - 09.01.2014
Код:
D:\Downloads\Brasil New Era RPG v1.0\Brasil New Era RPG v1.0\pawno\include\Lekinhu_BNA_Info.inc(282) : error 004: function "GMExit" is not implemented
D:\Downloads\Brasil New Era RPG v1.0\Brasil New Era RPG v1.0\pawno\include\Lekinhu_BNA_Info.inc(313) : error 004: function "OnPlayerHaveExtraCash" is not implemented
D:\Downloads\Brasil New Era RPG v1.0\Brasil New Era RPG v1.0\gamemodes\PlayFortes.pwn(826) : error 004: function "SaveCars" is not implemented
D:\Downloads\Brasil New Era RPG v1.0\Brasil New Era RPG v1.0\gamemodes\PlayFortes.pwn(3432) : error 017: undefined symbol "ResetPlayerWeaponsEx"
D:\Downloads\Brasil New Era RPG v1.0\Brasil New Era RPG v1.0\gamemodes\PlayFortes.pwn(3478) : error 017: undefined symbol "ResetPlayerWeaponsEx"
D:\Downloads\Brasil New Era RPG v1.0\Brasil New Era RPG v1.0\gamemodes\PlayFortes.pwn(3546) : error 017: undefined symbol "ResetPlayerWeaponsEx"
D:\Downloads\Brasil New Era RPG v1.0\Brasil New Era RPG v1.0\gamemodes\PlayFortes.pwn(3595) : error 004: function "OnPlayerText" is not implemented
D:\Downloads\Brasil New Era RPG v1.0\Brasil New Era RPG v1.0\gamemodes\PlayFortes.pwn(3600) : error 004: function "OnPlayerText" is not implemented
D:\Downloads\Brasil New Era RPG v1.0\Brasil New Era RPG v1.0\gamemodes\PlayFortes.pwn(6769) : error 004: function "ProxDetector" is not implemented
D:\Downloads\Brasil New Era RPG v1.0\Brasil New Era RPG v1.0\gamemodes\PlayFortes.pwn(6777) : error 004: function "ProxDetector" is not implemented
D:\Downloads\Brasil New Era RPG v1.0\Brasil New Era RPG v1.0\gamemodes\PlayFortes.pwn(6785) : error 004: function "ProxDetector" is not implemented
D:\Downloads\Brasil New Era RPG v1.0\Brasil New Era RPG v1.0\gamemodes\PlayFortes.pwn(6917) : error 004: function "ClearChatbox" is not implemented
D:\Downloads\Brasil New Era RPG v1.0\Brasil New Era RPG v1.0\gamemodes\PlayFortes.pwn(7101) : error 004: function "ClearChatbox" is not implemented
D:\Downloads\Brasil New Era RPG v1.0\Brasil New Era RPG v1.0\gamemodes\PlayFortes.pwn(7951) : error 017: undefined symbol "IsNumero"
D:\Downloads\Brasil New Era RPG v1.0\Brasil New Era RPG v1.0\gamemodes\PlayFortes.pwn(7971) : error 017: undefined symbol "IsNumero"
D:\Downloads\Brasil New Era RPG v1.0\Brasil New Era RPG v1.0\gamemodes\PlayFortes.pwn(7999) : error 017: undefined symbol "IsNumero"
D:\Downloads\Brasil New Era RPG v1.0\Brasil New Era RPG v1.0\gamemodes\PlayFortes.pwn(8017) : error 017: undefined symbol "IsNumero"
D:\Downloads\Brasil New Era RPG v1.0\Brasil New Era RPG v1.0\gamemodes\PlayFortes.pwn(8564) : error 017: undefined symbol "IsNumero"
D:\Downloads\Brasil New Era RPG v1.0\Brasil New Era RPG v1.0\gamemodes\PlayFortes.pwn(8606) : error 017: undefined symbol "IsNumero"
D:\Downloads\Brasil New Era RPG v1.0\Brasil New Era RPG v1.0\gamemodes\PlayFortes.pwn(8648) : error 017: undefined symbol "IsNumero"
D:\Downloads\Brasil New Era RPG v1.0\Brasil New Era RPG v1.0\gamemodes\PlayFortes.pwn(8690) : error 017: undefined symbol "IsNumero"
D:\Downloads\Brasil New Era RPG v1.0\Brasil New Era RPG v1.0\gamemodes\PlayFortes.pwn(8719) : error 017: undefined symbol "IsNumero"
D:\Downloads\Brasil New Era RPG v1.0\Brasil New Era RPG v1.0\gamemodes\PlayFortes.pwn(8748) : error 017: undefined symbol "IsNumero"
D:\Downloads\Brasil New Era RPG v1.0\Brasil New Era RPG v1.0\gamemodes\PlayFortes.pwn(8777) : error 017: undefined symbol "IsNumero"
D:\Downloads\Brasil New Era RPG v1.0\Brasil New Era RPG v1.0\gamemodes\PlayFortes.pwn(8806) : error 017: undefined symbol "IsNumero"
D:\Downloads\Brasil New Era RPG v1.0\Brasil New Era RPG v1.0\gamemodes\PlayFortes.pwn(8835) : error 017: undefined symbol "IsNumero"
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
26 Errors.
Re : gangzone -
IGp - 09.01.2014
26 Erros = Uma chave foi aberta, e nгo foi fechada..
Procure detalhe por detalhe no seu code, concerteza vocк nгo fechou uma chave!