24.01.2010, 19:33
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;
}
:/
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;
}