CMD:clearanim(playerid)
{
animss(playerid);
return 1;
}
CMD:clearanim(playerid, params[])
{
animss(playerid);
return 1;
}
Try:
pawn Код:
|
forward animss(playerid);
public animss(playerid)
{
for(new shg = 0; shg <= players; shg++)
{
DisablePlayerCheckpoint(shg);
SetPVarInt(shg, "roped", 0);
ClearAnimations(shg);
for(new destr3 = 0; destr3 <= ropelength; destr3++)
{
DestroyObject(r0pes[shg][destr3]);
}
}
return 1;
}
CMD:clearanim(playerid, params[])
{
animss(playerid);
return 1;
}
CMD:clearanim(playerid, params[])
{
ClearAnimations(playerid);
return 1;
}
stock animss(playerid)
{
for(new shg = 0; shg <= players; shg++)
{
DisablePlayerCheckpoint(shg);
SetPVarInt(shg, "roped", 0);
ClearAnimations(shg);
for(new destr3 = 0; destr3 <= ropelength; destr3++)
{
DestroyObject(r0pes[shg][destr3]);
}
}
return 1;
}
(147) : warning 203: symbol is never used: "playerid" |
stock animss(playerid)
stock animss(playerid)
{
for(new shg = 0; shg <= players; shg++)
{
DisablePlayerCheckpoint(shg);
SetPVarInt(shg, "roped", 0);
ClearAnimations(shg);
for(new destr3 = 0; destr3 <= ropelength; destr3++)
{
DestroyObject(r0pes[shg][destr3]);
}
}
return 1;
}
stock animss()
{
for(new shg = 0; shg <= players; shg++)
{
DisablePlayerCheckpoint(shg);
SetPVarInt(shg, "roped", 0);
ClearAnimations(shg);
for(new destr3 = 0; destr3 <= ropelength; destr3++)
{
DestroyObject(r0pes[shg][destr3]);
}
}
return 1;
}
CMD:clearanim(playerid, params[])
{
animss();
return 1;
}