wierd warning
#1

hey guys

why i got this warning:
Код:
C:\Documents and Settings\Administrator\щемзп дтбегд\CES\gamemodes\CES.pwn(649) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
On this lines:
Код:
public OnPlayerPrivmsg(playerid, recieverid, text[])
{
  new string[128],p1[MAX_PLAYER_NAME],p2[MAX_PLAYER_NAME];
  GetPlayerName(playerid,p1,sizeof(p1));
  GetPlayerName(recieverid,p2,sizeof(p2));
  format(string,sizeof(string),"PM Sent to [ID:%d | %s]: %s",recieverid,p2,text);
  SendClientMessage(playerid,COLOR_LIGHTBLUE,string);
  format(string,sizeof(string),"PM Received from [ID:%d | %s]: %s",playerid,p1,text);
  SendClientMessage(recieverid,COLOR_LIGHTBLUE,string);
  return 0;
}
thanks all
Reply
#2

Uum OnPlayerPrivmsg has been removed from 0.3

Try to use this https://sampwiki.blast.hk/wiki/OnPlayerPrivmsg
Reply
#3

Thanks mate
Reply
#4

Lol np
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)