30.08.2010, 23:34
Bom eu tenho um sistema de contagem aki mas quando eu digito /contar ele n conta n aparece nada
Se tiver algo errado por favor me corijam ja agardeзo desde ja
Se tiver algo errado por favor me corijam ja agardeзo desde ja
Код:
if(!strcmp(cmd, "/contar", true)){
new temp[256];
new tempo, string2[256];
temp = strtok(cmdtext, idx);
tempo = strval(temp);
if (PlayerInfo[playerid][pAdmin] >= 1)
{
if(admtrampando[playerid] < 1)
{
SendClientMessage(playerid, COLOR_PCC, "Vocк nгo estб trabalhando! (/trabalhar)");
return 1;
}
if(!strlen(temp)){
SendClientMessage(playerid, COLOR_CV, "USE: /contar [segundos]");
}
soCount = tempo;
format(string, sizeof(string), "%s SEGUNDOS", tempo);
GameTextForAll(string2, 2000, 5);
SetTimer("contagem", 2000, false);
} else {
SendClientMessage(playerid, COLOR_PCC, "Voce nao tem permissao para usar esse comando!");
}
return 1;
}

