Quote:
| 
					Originally Posted by sXecookie 
 
Quote: 
| 
					Originally Posted by _Saif_ 
 
Код: public OnPlayerCommandText(playerid, cmdtext[])
{
dcmd(commands, 8,cmdtext);
return 0;
} 
Код: dcmd_commands(playerid,params[]) {
#pragma unused params
SendClientMessage(playerid, COLOR_YELLOW, " The text you want to add.");
SendClientMessage(playerid, COLOR_YELLOW, " so on...");
return 1;
} |  Got one error now.
 
Quote: 
| C:\Users\Hampus\Desktop\Freeroam\gamemodes\freeroa  m.pwn(776) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
 C:\Users\Hampus\Desktop\Freeroam\gamemodes\freeroa  m.pwn(1073) : error 021: symbol already defined: "OnPlayerCommandText"
 Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
 
 
 1 Error.
 
 
 |  | 
 dont put onplayercommandtext two time just add dcmd(commands, 8 , cmdtext); one time in your onplayercommandtext and OnPlayerPrivMsg removed in 0.3