SA-MP Forums Archive
Help - CPS Streamer - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help - CPS Streamer (/showthread.php?tid=85655)



Help - CPS Streamer - Klutty - 08.07.2009

pawn Код:
public OnPlayerEnterStreamedCheckpoint(playerid, streamid)
{
  new modelid = GetVehicleModel(GetPlayerVehicleID(playerid));
    if(streamid == dockCP && modelid == infernus))
    {
    GivePlayerMoney(playerid, 100000);
    }
    return 1;
}
I have this, gives me this error:
Quote:

(31) : error 029: invalid expression, assumed zero

On this line:
pawn Код:
if(streamid == dockCP && modelid == infernus))
Help me please.


Re: Help - CPS Streamer - kaisersouse - 08.07.2009

ask in the streamer's thread