argument type mismatch (argument 1)
#1

Hey.


Im trying to make a command to change the time.
This is my code.
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/settime", cmdtext, true, 10) == 0)
	{
		SetWorldTime(cmdtext);
		return 1;
	}
	return 0;
}
This is the error.
Код:
C:\Users\Arno\Desktop\Sample server\gamemodes\test.pwn(94) : error 035: argument type mismatch (argument 1)
Reply


Messages In This Thread
argument type mismatch (argument 1) - by Arnoo - 28.10.2013, 16:08
Re: argument type mismatch (argument 1) - by Konstantinos - 28.10.2013, 16:15
Re: argument type mismatch (argument 1) - by Arnoo - 28.10.2013, 16:18

Forum Jump:


Users browsing this thread: 1 Guest(s)