[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
#2

Ask on the post where samsite was posted:
http://forum.sa-mp.com/index.php?topic=140857.0
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)