[Ajuda] Unknow Command ¬¬
#9

Quote:
Originally Posted by Ouro
Посмотреть сообщение
Nгo tem diferenзa nгo. :S
Eu usava assim no meu GameMode e nгo causava erro algum.

--

Verifique se a strtok ainda estб no seu GameMode.

Pode ser conflito.
Strtok nгo achei, mais achei isso:

PHP код:
public ZoneCheckpointChecker()
{
new 
GangString[MAX_PLAYERS];
for(new 
iMAX_PLAYERSi++)
{
if(!
IsPlayerConnected(i))continue;
if(
CPS_GetPlayerCheckpoint(i) > && CPS_GetPlayerCheckpoint(i) <= MAX_GZS+&&
gzcolor[CPS_GetPlayerCheckpoint(i)-1] != GetPlayerColor(i))
// se a cor do player fo igual da gz a gz naum sera dominada
{
if(
cpzone[i][CPS_GetPlayerCheckpoint(i)] < 15)
{
cpzone[i][CPS_GetPlayerCheckpoint(i)]++;
new 
tmp[11];
format(tmpsizeof tmp"~w~%2d/15"cpzone[i][CPS_GetPlayerCheckpoint(i)]);
GameTextForPlayer(itmp10014);
GangZoneFlashForAll(CPS_GetPlayerCheckpoint(i)-1GetPlayerColor(i));
}else if(
cpzone[i][CPS_GetPlayerCheckpoint(i)] == 15)
{
GivePlayerMoney(i200);
GameTextForPlayer(i"~r~area dominada!"40001);
gzcolor[CPS_GetPlayerCheckpoint(i)-1] = GetPlayerColor(i);
GangZoneStopFlashForAll(CPS_GetPlayerCheckpoint(i)-1);
GangZoneHideForAll(CPS_GetPlayerCheckpoint(i)-1);
GangZoneShowForAll(CPS_GetPlayerCheckpoint(i)-1GetPlayerColor(i));//a gz fica da cor do player
format(GangStringsizeof(GangString), "|GANGZONE| - Tem uma {00FFFF}'Gang' {FFFF00}invadindo e dominando mais um territorio!");
SendClientMessageToAll(COLOR_YELLOWGangString);
// que dominou
}
}
}

@EDIT: Malz pelo Double Post akie
Reply


Messages In This Thread
Unknow Command ¬¬ - by Gleisson_. - 12.12.2012, 20:57
Re: Unknow Command ¬¬ - by HardWar - 12.12.2012, 21:03
Re: Unknow Command ¬¬ - by Gleisson_. - 12.12.2012, 21:09
Re: Unknow Command ¬¬ - by EditPawn - 12.12.2012, 21:29
Re: Unknow Command ¬¬ - by Gleisson_. - 13.12.2012, 15:01
Re: Unknow Command ¬¬ - by EditPawn - 13.12.2012, 15:10
Re: Unknow Command ¬¬ - by Ouro - 13.12.2012, 15:24
Re: Unknow Command ¬¬ - by Gleisson_. - 13.12.2012, 15:25
Re: Unknow Command ¬¬ - by Gleisson_. - 13.12.2012, 15:36
Re: Unknow Command ¬¬ - by EditPawn - 13.12.2012, 15:59

Forum Jump:


Users browsing this thread: 1 Guest(s)