erorrs when complie[sloved]
#1

D:\servers\samp\new\gamemodes\1.8.pwn(40) : warning 201: redefinition of constant/macro (symbol "MAX_PICKUPS")
D:\servers\samp\new\gamemodes\1.8.pwn(5904) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
D:\servers\samp\new\gamemodes\1.8.pwn(18252) : warning 235: public function lacks forward declaration (symbol "OnPlayerInfoChange")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Warnings.

line 40 = #define MAX_PICKUPS 150

linn 5904 = public OnPlayerPrivmsg(playerid, recieverid, text[])
{
if(Muted[playerid] == 1) {
SendClientMessage(playerid, COLOR_ERROR, "You are Muted. You Cannot Use This Command");
return 0;
}
if(pmsoff[recieverid] == 1) {
SendClientMessage(playerid, COLOR_YELLOW, "That player is not accepting Private Messages at this time");
return 0;
}
SendClientMessage(recieverid, COLOR_GREY, "Type /pmoff to refuse Personal Messages");
SpamStrings[playerid] ++;
new pmsg[128];
new priname[32],prinamee[32];
GetPlayerName(playerid,priname, sizeof(priname));
GetPlayerName(recieverid,prinamee, sizeof(prinamee));
format(pmsg, sizeof(pmsg), "2**(PM)** From \2;%s(%i)\2; To \2;%s(%i)\2; - %s",priname,playerid,prinamee,recieverid,text); // [0] <jacob> hi
ircSay(EchoConnection, EchoChan,pmsg);

return 1;
}


line 18252 =
public OnPlayerInfoChange(playerid)
{


return 1;
}

Reply


Messages In This Thread
erorrs when complie[sloved] - by oObig_manOo - 05.04.2010, 15:01
Re: erorrs when complie - by biltong - 05.04.2010, 15:07
Re: erorrs when complie - by [MWR]Blood - 05.04.2010, 15:08
Re: erorrs when complie - by oObig_manOo - 05.04.2010, 15:18

Forum Jump:


Users browsing this thread: 1 Guest(s)