Megcsináltam neked SendClientMessage-be! Remélem tudni fogod tovább.
new count[MAX_PLAYERS];
new Tajmer[MAX_PLAYERS];
CMD:start(playerid)
{
Tajmer[playerid] = SetTimerEx(\"Timerke\",1000,1,\"i\",playerid);
return 1;
}
forward Timerke(playerid);
public Timerke((playerid)
{
new string[128];
if(count[playerid] == 100)
{
format(string,sizeof(string),\"%d/100\",count[playerid]);
SendClientMessage(playerid,-1,string);
KillTimer(Tajmer[playerid]);
count[playerid] = 0;
}
else
{
count[playerid]++;
format(string,sizeof(string),\"%d/100\",count[playerid]);
SendClientMessage(playerid,-1,string);
}
return 1;
}