04.05.2012, 17:42
Ok, so on line 1806, I receive the following error
On line 1806, is the following
The following in which contains line 1806, you'll see in //, where line 1806 is.
How would I go about fixing this?
Код:
C:\Documents and Settings\X3nZ\Desktop\eGRP\gamemodes\mysql_workingversion.pwn(1806) : error 017: undefined symbol "Freeze"
The following in which contains line 1806, you'll see in //, where line 1806 is.
pawn Код:
public Tazed(playerid)
{
if(IsPlayerConnected(playerid))
{
playerinfo[playerid][taze]--;
if(playerinfo[playerid][taze]>-1)
SetTimerEx("Tazed",1000,0,"d",playerid);
else
{
Freeze(playerid,0); // THIS HERE IS LINE 1806
ClearAnimations(playerid);
}
playerinfo[playerid][afk]=0;
}
}