SetPlayerTime
#1

Getting errors on this command

Код:
	if (strcmp(cmdtext, "/setmytime", true) == 0)
	{
	new string1[128];
	SetPlayerTime(playerid, time, 0);
        SendClientMessage(playerid, COLOR_GREY, "Usage: /setmytime [Time(Hour)"
	SendClientMessage(playerid, COLOR_PINK, "Function: Will set your Time");
	format(string1,sizeof(string1),"His time has Changed to: %d:00", time);
	SendClientMessage(playerid,COLOR_Yellow,string1);
	return 1;
	}
Error's

Код:
D:\Others\101SSCAM\samp03x_svr_R1-2_win32\gamemodes\TheHacker.pwn(5225) : error 017: undefined symbol "time"
D:\Others\101SSCAM\samp03x_svr_R1-2_win32\gamemodes\TheHacker.pwn(5226 -- 5227) : error 001: expected token: ",", but found "-identifier-"
D:\Others\101SSCAM\samp03x_svr_R1-2_win32\gamemodes\TheHacker.pwn(5228) : error 017: undefined symbol "time"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
Reply


Messages In This Thread
SetPlayerTime - by Salsa - 15.07.2013, 14:03
Re: SetPlayerTime - by Passout - 15.07.2013, 14:18
Re: SetPlayerTime - by PrinceKumar - 15.07.2013, 14:42
Re: SetPlayerTime - by Areax - 15.07.2013, 15:11
Re: SetPlayerTime - by Konstantinos - 15.07.2013, 15:17
Re: SetPlayerTime - by Areax - 15.07.2013, 15:22
Re: SetPlayerTime - by Konstantinos - 15.07.2013, 15:26
Re: SetPlayerTime - by Areax - 15.07.2013, 15:30
Re: SetPlayerTime - by Salsa - 15.07.2013, 15:47
Re: SetPlayerTime - by Areax - 15.07.2013, 15:55

Forum Jump:


Users browsing this thread: 4 Guest(s)