24.05.2012, 09:27
Your using that inside a function that doesn't have playerid as a parameter. (or var)
pawn Код:
public OnFilterScriptInit()//<< no playerid
{
RemoveBuildingForPlayer(playerid, 4024, 1479.8672, -1790.3984, 56.0234, 0.25);//ERROR
return 1;
}
public OnPlayerConnect(playerid)//<< playerid parameter
{
RemoveBuildingForPlayer(playerid, 4024, 1479.8672, -1790.3984, 56.0234, 0.25);//FINE! WILL WORK
return 1;
}