Argument Type Mismatch
#1

I Added Score Limit To Chat In-Game, Have Added On PMs But Can't Add on OnPlayerText as giving error, Argument type mismatch
Code:-
Код:
public OnPlayerText(playerid, text[])
{
	if(playerData[playerid][playerLoggedIn])
	{
	    if (playerData[playerid][playerScore] >= 20)
    	{
            SendClientMessage(playerid, "{FFDC2E}[ERROR] {FFFFFF}You Must Have More Than 20 Score To Chat!");
	        return 0;
	    }
Error Line:-

Код:
            SendClientMessage(playerid, "{FFDC2E}[ERROR] {FFFFFF}You Must Have More Than 20 Score To Chat!");
Hope Will be helped!
Reply


Messages In This Thread
Argument Type Mismatch - by BlackLineCnR - 14.10.2017, 08:37
Re: Argument Type Mismatch - by Kane - 14.10.2017, 08:38
Re: Argument Type Mismatch - by BlackLineCnR - 14.10.2017, 08:41
Re: Argument Type Mismatch - by Escobabe - 14.10.2017, 08:53

Forum Jump:


Users browsing this thread: 1 Guest(s)