onplayercommandreceived help
#1

gives me 3 errors

C:\Users\Trayansh\Desktop\SAMP\gamemodes\register. pwn(359) : error 055: start of function body without function header
C:\Users\Trayansh\Desktop\SAMP\gamemodes\register. pwn(360) : error 010: invalid function or declaration
C:\Users\Trayansh\Desktop\SAMP\gamemodes\register. pwn(364) : error 010: invalid function or declaration

Код:
public OnPlayerCommandReceived(playerid,cmdtext[]);
{
   if(PInfo[playerid][CMuted] == 1)
	{
		format(string,sizeof(string),"You are still muted, You can use all the commands after %d seconds.",PInfo[playerid][CMutedSec]);
	    SendClientMessage(playerid,COLOR_RED,string);
	    return 0;
	}
}
Reply


Messages In This Thread
onplayercommandreceived help - by Nabster - 19.02.2015, 09:44
Re: onplayercommandreceived help - by CalvinC - 19.02.2015, 09:46
Re: onplayercommandreceived help - by Nabster - 19.02.2015, 09:53

Forum Jump:


Users browsing this thread: 1 Guest(s)