SA-MP Forums Archive
error hlep pls - 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: error hlep pls (/showthread.php?tid=524569)



error hlep pls - kosa451 - 07.07.2014

Код:
C:\Users\Administrator\Desktop\samp03z\pawno\include\streamer.inc(489) : error 029: invalid expression, assumed zero
line inside the include:
pawn Код:
if (hittype == BULLET_HIT_TYPE_PLAYER_OBJECT)



Re: error hlep pls - BroZeus - 07.07.2014

show some lines above it and below it


Re: error hlep pls - kosa451 - 07.07.2014

pawn Код:
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
}



Respuesta: error hlep pls - Siralos - 07.07.2014

Quote:
Originally Posted by kosa451
Посмотреть сообщение
Код:
C:\Users\Administrator\Desktop\samp03z\pawno\include\streamer.inc(489) : error 029: invalid expression, assumed zero
line inside the include:
pawn Код:
if (hittype == BULLET_HIT_TYPE_PLAYER_OBJECT)
Maybe you have old server version. Download 0.3z


Re: error hlep pls - kosa451 - 07.07.2014

nevermind i fixed it, thx anyways, i have 0.3z R3