[[[Ajuda]]] GZ CRIADA MAIS E O /DO pq nao funfa? -
Ichigo_Kurosaki - 22.02.2011
pessoal eu criei uma GZ que fica em frente a DP e tals, ela aparece no GM e tudo sу que quando eu digito /do nгo pega, diz que eu nao estou em territorio algum... o que serб alguem sabe?
Re: [[[Ajuda]]] GZ CRIADA MAIS E O /DO pq nao funfa? -
ViniBorn - 22.02.2011
Leia esse topico, e veja se consegue resolver o problema.
https://sampforum.blast.hk/showthread.php?tid=228478
Respuesta: [[[Ajuda]]] GZ CRIADA MAIS E O /DO pq nao funfa? -
Ichigo_Kurosaki - 22.02.2011
vc quer que eu ponha do menor para o maior la no esquema^^
ok vou tentar^^
ja respondo
ORIGINAL
X Y X Y
(1433.168457, -1733.621582, 1513.168457, -1605.621582);
VAI FICAR ASSIM DO GEITO QUE VC FALOU
Код:
GZdp = GangZoneCreate(1433.168457,-1605.621582,1513.168457,-1733.621582);
Код:
stock IsPlayerdp(playerid)
{
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid, x, y, z);
if(x >= 1433.168457 && y >= -1605.621582 && x <= 1513.168457 && y <= -1733.621582) return 1;
else return 0;
}
Re: [[[Ajuda]]] GZ CRIADA MAIS E O /DO pq nao funfa? -
Power_GamerX - 22.02.2011
to com o mesmo problema cara olha:
pawn Код:
if(PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22)// AQ
{
if(IsPlayerInBoate(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк jб estб dominando um territуrio.");
return 1;
}
if(GuerranoBoate == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territуrio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e a Al-Qaeda Estao Domindo a Zona De Guerra",playername);
SendClientMessageToAll(0x503400AA, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar esta бrea .");
GangZoneFlashForAll(GZBoate,0x503400AA);
Dominando[playerid] = 1;
ProvocoBoate[playerid] = 1;
GuerranoBoate = 1;
TempoGuerraBoate = SetTimerEx("GuerraBoate", 60000, 0, "i", playerid);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GRAD3, "Vocк nгo estб em nenhum territуrio!");
}
e:
pawn Код:
GangZoneCreate(444.7051,2554.0813, -118.7813,1686.2780);
pawn Код:
stock IsPlayerInBoate(playerid)
{
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid, x, y, z);
if(x >= 444.7051 && y >= 2554.0813 && x <= -118.7813 && y <= 1686.2780) return 1;
else return 0;
}
mais ele fala que nao esta em um territorio auguem ajudaaa
Re: Respuesta: [[[Ajuda]]] GZ CRIADA MAIS E O /DO pq nao funfa? -
ViniBorn - 22.02.2011
Ichigo, tenta assim.
pawn Код:
stock IsPlayerdp(playerid)
{
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid, x, y, z);
if(x >= 1433.168457 && y >= -1733.621582 && x <= 1513.168457 && y <= -1605.621582) return 1;
else return 0;
}
Re: [[[Ajuda]]] GZ CRIADA MAIS E O /DO pq nao funfa? -
Power_GamerX - 22.02.2011
ajuda eu tbm vini ^^^^
Re: [[[Ajuda]]] GZ CRIADA MAIS E O /DO pq nao funfa? -
ViniBorn - 22.02.2011
Quote:
Originally Posted by Power_GamerX
ajuda eu tbm vini ^^^^
|
Pra alguйm que "tem" crйditos em um FS de neon e outro de Anti-CBUG, acho que vocк deveria saber disso nй --'
De qualquer forma. Tenta isso.
pawn Код:
stock IsPlayerInBoate(playerid)
{
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid, x, y, z);
if(x >= -118.7813 && y >= 1686.2780 && x <= 444.7051 && y <= 2554.0813) return 1;
else return 0;
}