TextDrawSetString
#1

Код:
so this cmd is soupposed to set the time in the MAP(NOT WORLD TIME) but it does not work
TextDrawSetString(TimeLeft,"time");<<u see the problem?
i tried this aswel
TextDrawSetString(TimeLeft,"%d",time);//did not work
so i need some help
Код:
entire cmd
CMD:settime(playerid,params[])
{
    new string[128];
	if(!Info[playerid][Logged]) return 0;
	if(Info[playerid][Level] < 2) return ERRORMSG(playerid);
	new time;
	if(sscanf(params,"d",time)) return SendClientMessage(playerid,COLOR_GREY,"HELP: /settime [time]");
	TextDrawHideForAll(TimeLeft);
	TextDrawSetString(TimeLeft,"time");
   	TextDrawShowForAll(TimeLeft);
	format(string,sizeof(string),"%s(%d) Has set the time or map to %d,",PlayerName(playerid), playerid, time);
	SendClientMessageToAll(COLOR_ADMIN,string);
	return 1;
}
Reply


Messages In This Thread
TextDrawSetString - by SwisherSweet - 10.08.2013, 18:58
Re: TextDrawSetString - by BullseyeHawk - 10.08.2013, 19:02
Re: TextDrawSetString - by SwisherSweet - 10.08.2013, 19:06
Re: TextDrawSetString - by SwisherSweet - 10.08.2013, 19:13
Re: TextDrawSetString - by BullseyeHawk - 10.08.2013, 19:16
Re: TextDrawSetString - by SwisherSweet - 10.08.2013, 19:21
Re: TextDrawSetString - by BullseyeHawk - 10.08.2013, 19:33
Re: TextDrawSetString - by SwisherSweet - 10.08.2013, 20:05

Forum Jump:


Users browsing this thread: 3 Guest(s)