[Help] function heading differs from prototype
#1

C:\Users\Braduz\Desktop\Server\filterscripts\SamSi tes.pwn(1 : error 025: function heading differs from prototype
:/
public OnSamSiteUpdate(playerid, samid)
{
if(samid == 0)
{
if (GetPlayerSkin(playerid) <= 120) //blocks shooting only the skin 100 !
{
SAM_cancel(samid);
}
}
if(samid == 1)
{
if (GetPlayerSkin(playerid) <= 120) //blocks shooting only the skin 100 !
{
SAM_cancel(samid);
}
}
if(samid == 2)
{
if (GetPlayerSkin(playerid) <= 120) //blocks shooting only the skin 100 !
{
SAM_cancel(samid);
}
}
if(samid == 3)
{
if (GetPlayerSkin(playerid) <= 120) //blocks shooting only the skin 100 !
{
SAM_cancel(samid);
}
}
if(samid == 4)
{
if (GetPlayerSkin(playerid) <= 120) //blocks shooting only the skin 100 !
{
SAM_cancel(samid);
}
}
if(samid == 5)
{
if (GetPlayerSkin(playerid) <= 120) //blocks shooting only the skin 100 !
{
SAM_cancel(samid);
}
}
return 1;
}
Reply


Messages In This Thread
[Help] function heading differs from prototype - by braduz - 24.01.2010, 19:33
Re: [Help] function heading differs from prototype - by mansonh - 25.01.2010, 06:03

Forum Jump:


Users browsing this thread: 1 Guest(s)