I hawe this problem
#1

I em compile the FS
Code..
public OnPlayerPrivatemsg(playerid, recieverid, text[]) {
if(!IsPlayerConnected(playerid)||!IsPlayerConnecte d(recieverid)) return 0;
new string[256], ToName[24], Name[24]; GetPlayerName(playerid,Name,24);
if(Config[ExposePMS]) {
GetPlayerName(recieverid,ToName,24);
format(string,256,"PM: %s [%d] -> %s [%d]: %s",Name,playerid,ToName,recieverid,text);
SendMessageToAdmins(string);
}


End look this
\xadmini.pwn(1217) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivatemsg")
Reply
#2

Forward the function.

Код:
forward OnPlayerPrivatemsg(playerid, recieverid, text[]);
public OnPlayerPrivatemsg(playerid, recieverid, text[])
Reply
#3

it`s work tnx :*
Reply
#4

Next time post here please, You're in the wrong section;
http://forum.sa-mp.com/forumdisplay.php?f=12
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)