A Modba ezek vannak:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
if (hittype == BULLET_HIT_TYPE_PLAYER_OBJECT)
{
Streamer_CallbackHook(STREAMER_OPWS, playerid, weaponid, hittype, hitid, fX, fY, fZ);
}
#if defined Streamer_OnPlayerWeaponShot
return Streamer_OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, fX, fY, fZ);
#else
return 1;
#endif
}
Már csak ez a hiba van:
C:\\Users\\user\\Desktop\\SA-MP szerver\\pawno\\include\\streamer.inc(487) : warning 219: local variable \"hitid\" shadows a variable at a preceding level
Tényleg return hiba volt..
[mod]Javítottam pawn code tagre![/mod]