[Pomoc] Count

Započeo Blaeks, Decembar 13, 2011, 13:41:00 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: GTA RP
Detaljan opis problema: Gledajte ja kada ukucam /count ono odbroji i posle kad iskucam opet kaze vec je zapoceto kako da izbacim to zapoceto da mogu bilo kad da radim /count??
Dio skripte:if(strcmp(cmdtext,"/count",true) == 0)
{
    new Float:X, Float:Y, Float:Z;
new pName[30];
if (auts == false)
{
auts = true;
GetPlayerName(playerid, pName, 30);
format(string, 280, "*** %s je zapoceo odbrojavanje.", pName);
SendClientMessageToAll(COLOR_LIGHTBLUE, string);
for(new i; i < MAX_PLAYERS; i++)
{
    GameTextForPlayer(i, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~g~-~y~ 3 ~g~-",1000,3);
    GetPlayerPos(i, X,Y,Z);
    }
    SetTimer("count2",1000,0);
    SetTimer("count1",2000,0);
    SetTimer("countgo",3000,0);
    SetTimer("stop",6000,0);
}
else
{
SendClientMessage(playerid, 0xFF9900AA, "Vec je zapoceto!");
return 1;
}
}

Neke slike/video za lakse dobivanje pomoci(neobavezno):

else
{
SendClientMessage(playerid, 0xFF9900AA, "Vec je zapoceto!");
return 1;
}


makni to...
Vratio sam se ponovo ocekjute novi server...

Citat}
   if(strcmp(cmdtext,"/count",true) == 0)
   {
       new Float:X, Float:Y, Float:Z;
      new pName[30];
      if (auts == false)
      {
         auts = true;
         GetPlayerName(playerid, pName, 30);
         format(string, 280, "*** %s je zapoceo odbrojavanje.", pName);
         SendClientMessageToAll(COLOR_LIGHTBLUE, string);
         for(new i; i < MAX_PLAYERS; i++)
         {
            GameTextForPlayer(i, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~g~-~y~ 3 ~g~-",1000,3);
            GetPlayerPos(i, X,Y,Z);
            }
            SetTimer("count2",1000,0);
            SetTimer("count1",2000,0);
            SetTimer("countgo",3000,0);
            SetTimer("stop",6000,0);
      }
      else
      {
Evo taj!
Poslednja Izmena: Decembar 13, 2011, 14:30:04 POSLE PODNE od bombbomb

Bomb ova tvoja cmd ima 26 errora da znas  a ti Narco kad obrisem dobijam 26 errora isto

Nemaš jednak broj { }
"I'm a loser and a user so I don't need no accuser" - Billie Joe Armstrong

[code]if(strcmp(cmdtext,"/count",true) == 0)
{
    new Float:X, Float:Y, Float:Z;
new pName[30];
if (auts == false)
{
auts = true;
GetPlayerName(playerid, pName, 30);
format(string, 280, "*** %s je zapoceo odbrojavanje.", pName);
SendClientMessageToAll(COLOR_LIGHTBLUE, string);
for(new i; i < MAX_PLAYERS; i++)
{
    GameTextForPlayer(i, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~g~-~y~ 3 ~g~-",1000,3);
    GetPlayerPos(i, X,Y,Z);
    }
    SetTimer("count2",1000,0);
    SetTimer("count1",2000,0);
    SetTimer("countgo",3000,0);
    SetTimer("stop",6000,0);
}
}
}
[/code]

ev probaj ovak..
Vratio sam se ponovo ocekjute novi server...

To much error in line tako kaze

probaj onda ovako..

neznam ali nebi trebalo bacit erore


if(strcmp(cmdtext,"/count",true) == 0)
{
   new Float:X, Float:Y, Float:Z;
new pName[30];
if (auts == false)
{
auts = true;
GetPlayerName(playerid, pName, 30);
format(string, 280, "*** %s je zapoceo odbrojavanje.", pName);
SendClientMessageToAll(COLOR_LIGHTBLUE, string);
for(new i; i < MAX_PLAYERS; i++)
{
  GameTextForPlayer(i, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~g~-~y~ 3 ~g~-",1000,3);
  GetPlayerPos(i, X,Y,Z);
  }
  SetTimer("count2",1000,0);
  SetTimer("count1",2000,0);
  SetTimer("countgo",3000,0);
  SetTimer("stop",6000,0);
}
}
Vratio sam se ponovo ocekjute novi server...