18.04.2013, 18:46
TextDrawSetString(textdrawid,string); , 2 paramter but in your script you got 3 parameter
Anyway everyone can make mistake
he will get warning
warning 202: Number of arguments does not match definition.
Anyway everyone can make mistake
he will get warning
warning 202: Number of arguments does not match definition.
pawn Код:
public TDToiletUpd(playerid)
{
if(!IsPlayerConnect(playerid) || Toilet[playerid] != 1) return KillTimer(TDToiletUpd(playerid)); //If the player isn't connected or not in toilet, then the timer stops or KILLS.
TDCount[playerid]++; //As the timer goes on, it rises the count.
new string[256];
format(string,sizeof(string),"%d;%d"TDToilet[playerid],TDCount[playerid]);
TextDrawSetString(playerid, string);
return 1;
}