algem sabe como indentificar a gz dominada
#1

o sistema e do mata mata e to ajudando um lek aii o sistema dele aio

PHP код:
 for(new iMAX_PLAYERSi++)
    {
        if(!
IsPlayerConnected(i))continue;
        if(
CPS_GetPlayerCheckpoint(i) > && CPS_GetPlayerCheckpoint(i) <= 11 &&
            
//sгo 11 checkpoints, entгo mude se for colocar mais...
            
gzcolor[CPS_GetPlayerCheckpoint(i)-1] != gzcolorteam[gangteam[i]])
        {
            if(
cpzone[i][CPS_GetPlayerCheckpoint(i)] < 15)
            {
              if(
cpzone[i][CPS_GetPlayerCheckpoint(i)] == 5)
        {
        for(new 
jMAX_PLAYERSj++)
        {
        if(
gangteam[j] == CPS_GetPlayerCheckpoint(i)-1)
            
GameTextForPlayer(j" ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~y~A base do ~g~seu time ~y~esta sendo ~r~dominada~y~!"40004);
        }
        }
                
cpzone[i][CPS_GetPlayerCheckpoint(i)]++;
                new 
tmp[10];
                
format(tmpsizeof tmp"~r~%2d/15"cpzone[i][CPS_GetPlayerCheckpoint(i)]);
                
GameTextForPlayer(itmp10014);
                
GangZoneFlashForAll(CPS_GetPlayerCheckpoint(i)-1gzcolorteam[gangteam[i]]);
            } else if(
cpzone[i][CPS_GetPlayerCheckpoint(i)] == 15//passou 30 segundos dentro do checkpoint
            
{
                
GameTextForPlayer(i"~w~Area Dominada"40001);
                
gzcolor[CPS_GetPlayerCheckpoint(i)-1] = gzcolorteam[gangteam[i]];
                
GangZoneStopFlashForAll(CPS_GetPlayerCheckpoint(i)-1);
                
GangZoneHideForAll(CPS_GetPlayerCheckpoint(i)-1);
                
GangZoneShowForAll(CPS_GetPlayerCheckpoint(i)-1gzcolor[gangteam[i]]);
  new 
str[256];
    
format(str256"|GANGZONE| - O (Os, A, As) '%s' invadiram e dominaram mais um territуrio!",
pgangnames[gangteam[i]][0]);
         
SendClientMessageToAll(0xFFFFFFFFstr); 
Reply
#2

use uma variavel setada na gz
Reply
#3

podia da um ex ?? nun so muito experiente em pawn
Reply
#4

Quote:
Originally Posted by Alex_Kidds
Посмотреть сообщение
use uma variavel setada na gz
podeia dar em ex ow uma ajuda sou novo em pawn
Reply
#5

entгo comeзar aprende rpor um sistema assim serб dificiu mano nгo posso fazer para vc posso te ajudar pelo bem da board

pesquise no ****** como manipular variaveis

vocк setando uma variavel na GZ e getando a variavel par aum tal resultado depois
Reply
#6

Quote:
Originally Posted by Alex_Kidds
Посмотреть сообщение
entгo comeзar aprende rpor um sistema assim serб dificiu mano nгo posso fazer para vc posso te ajudar pelo bem da board

pesquise no ****** como manipular variaveis

vocк setando uma variavel na GZ e getando a variavel par aum tal resultado depois
opa vlw aee
Reply
#7

Quote:
Originally Posted by jilead
Посмотреть сообщение
opa vlw aee
nгo sei se te ajudou o que eu disse mais vou upar aki para que alguem te ajude melhor poide de um celular nгo tem como construir codes
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)