anti ****** - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: anti ****** (
/showthread.php?tid=592686)
anti ****** -
Brandon001 - 28.10.2015
Hi. I am getting one error.
stock ASCleanup(playerid)
{
stop ******Check[playerid][asTimer]; <---------------- 13852 line
if(******Check[playerid][vehicleId] != INVALID_VEHICLE_ID)
{
DestroyVehicle(******Check[playerid][vehicleId]);
******Check[playerid][vehicleId] = INVALID_VEHICLE_ID;
}
}
Error / warning:
(13852) : error 017: undefined symbol "stop"
(13852) : warning 215: expression has no effect
Help, thanks.
Re: anti ****** -
Evocator - 28.10.2015
y_timers.
Re: anti ****** -
Brandon001 - 28.10.2015
One problem.
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid, bodypart)
(16923) : error 025: function heading differs from prototype
Re: anti ****** -
kamiliuxliuxliux - 28.10.2015
Quote:
Originally Posted by Brandon001
One problem.
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid, bodypart)
(16923) : error 025: function heading differs from prototype
|
Probably, you shouldn't leave space between "Float:" and "amount", try editing it like "Float:amount".