Time HELP
#6

Quote:
Originally Posted by XtremeR
Посмотреть сообщение
pawn Код:
CMD:time(playerid,params[])
{
new Hour, Minute, Second;
gettime(Hour, Minute, Second);
printf("%02d:%02d:%02d", Hour, Minute, Second);
GameTextForPlayer(playerid, string/*not defined*/, 5000, 1);
}//this 1
return 1;
}
this wont work you forgot to define the string and u added useless brackt :P
try this!
pawn Код:
CMD:time(playerid,params[])
{
new Hour, Minute, Second, string[50];
gettime(Hour, Minute, Second);
printf("%02d:%02d:%02d", Hour, Minute, Second);
GameTextForPlayer(playerid, string, 5000, 1);
return 1;
}
Reply


Messages In This Thread
Time HELP - by necrobg3 - 27.09.2012, 19:54
Re: Time HELP - by necrobg3 - 28.09.2012, 10:09
Re: Time HELP - by Cameltoe - 28.09.2012, 10:13
Re: Time HELP - by necrobg3 - 28.09.2012, 16:02
Re: Time HELP - by XtremeR - 28.09.2012, 16:14
Re: Time HELP - by xMCx - 28.09.2012, 17:01
Re: Time HELP - by necrobg3 - 28.09.2012, 19:15
Re: Time HELP - by KingHual - 28.09.2012, 19:52
Re: Time HELP - by necrobg3 - 28.09.2012, 20:58

Forum Jump:


Users browsing this thread: 1 Guest(s)