10.04.2009, 15:45
any idea why when I press /jobtime it displays letters instead of numbers?
Код:
if(strcmp(cmd, "/jobtime", true) == 0) { if (PlayerInfo[playerid][pJob] == 16) { format(string,sizeof(string), "Time left: %d Sec",PlayerInfo[playerid][pTruckTime]-10); GameTextForPlayer(playerid, string, 5000, 1); } else if (PlayerInfo[playerid][pJob] == 3) { format(string,sizeof(string), " Time left: %d Sec ",PlayerInfo[playerid][pWhoreTime]-10); GameTextForPlayer(playerid, string, 5000, 1); } }