Undefined symbol, playerid? wtf!
#2

It means what it says, the variable playerid isn't initialized or defined in that callback...if you want the callback specifically for a playerid, you need to specify it in there. For example:

pawn Код:
public cannonshot(playerid)
{
      if(IsPlayerInAnyVehicle(playerid))
      SetVehicleVelocity(GetPlayerVehicleID(playerid),-4.5,0,0.0);
}
Reply


Messages In This Thread
Undefined symbol, playerid? wtf! - by knackworst - 11.11.2010, 15:59
Re: Undefined symbol, playerid? wtf! - by JaTochNietDan - 11.11.2010, 16:01
Re: Undefined symbol, playerid? wtf! - by Andrus - 11.11.2010, 16:02
Re: Undefined symbol, playerid? wtf! - by knackworst - 11.11.2010, 16:06

Forum Jump:


Users browsing this thread: 1 Guest(s)