23.07.2010, 08:52
Ola estoucom 1 problema.... nгo consigo implantar ratio em meu comando /status.... gostaria de adicionar alguem me ajuda?
alguem pode ajudar?pois tentei diversos metodos e nada =/
Код:
if(strcmp(cmd, "/status", true) == 0)
{
new tmp[256];
tmp = strtok(cmdtext, idx);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "&~&~&~&~&~&~&~&~&~&~STATUS~&~&~&~&~&~&&~&~&~&");
format(string, sizeof(string), "Matou: %d", status[playerid][0]);
SendClientMessage(playerid, COLOR_WHITE, string);
format(string, sizeof(string), "Morreu: %d", status[playerid][1]);
SendClientMessage(playerid, COLOR_WHITE, string);
format(string, sizeof(string), "Se Suicidou: %d", status[playerid][2]);
SendClientMessage(playerid, COLOR_WHITE, string);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "&~&~&~&~&~&~&~&~&~&~&~&~&~&~&~&~&~&~&~&~&~&~&");
return 1;
}

