SA-MP Forums Archive
Error 107 and warning 204 - 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 107 and warning 204 (/showthread.php?tid=438744)



**DELETE** - Pettersen - 21.05.2013

**DELETE


Re: Error 107 and warning 204 - Joe Staff - 21.05.2013

place
pawn Код:
new Player_Trailer = GetVehicleModel(GetVehicleTrailer(GetPlayerVehicleID(playerid)));
ABOVE
pawn Код:
for (new x = 0; x < MAX_MISSIONS; x++)
{
    if (MisLocations[x][TrailerID] == Player_Trailer)
    {
        Mission_Types[Mission_Count] = MisLocations[x][ID];
        Mission_Count++;
    }
}
Currently, you're trying to use a variable before you even create it.