Error Code. [NEED FIXING] - 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 Code. [NEED FIXING] (
/showthread.php?tid=360872)
Error Code. [NEED FIXING] -
Infinity90 - 19.07.2012
Hello all can you fix my error code, thanks in advance.
pawn Код:
public GetVehicleModelIDFromName(vname[])
{
for(new i = 0; i < 211; i++)
{
//Error line if ( strfind(VehicleNames[i], vname, true) != -1 )
return i + 400;
}
return -1;
}
Error Code:
Код:
argument type mismatch (argument 2)
Thanks.
Re: Error Code. [NEED FIXING] -
FireCat - 19.07.2012
Hmm
Show me this: VehicleNames[i]
Re: Error Code. [NEED FIXING] -
Infinity90 - 19.07.2012
I fixed it
Thanks anyways FireCat