error 035: argument type mismatch (argument 3) - 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 035: argument type mismatch (argument 3) (
/showthread.php?tid=594615)
error 035: argument type mismatch (argument 3) -
Karolukas123 - 20.11.2015
Код:
new Float:PirmosDaliesMobas[][] =
{
{712.35925, 1917.62842, 4.52988, 0.00000},
{709.14636, 1913.33789, 4.52988, 0.00000},
{698.40424, 1918.14099, 4.52988, 0.00000},
{702.74896, 1912.06152, 4.52988, 0.00000},
{706.62103, 1923.82849, 4.52988, 0.00000}
};
if(IsPlayerInRangeOfPoint(playerid, 2.0, PirmosDaliesMobas[0], PirmosDaliesMobas[1], PirmosDaliesMobas[2]))
error
error 035: argument type mismatch (argument 3)
Re: error 035: argument type mismatch (argument 3) -
DeathCore - 20.11.2015
PHP код:
new Float:PirmosDaliesMobas[5][3] =
{
{712.35925, 1917.62842, 4.52988, 0.00000},
{709.14636, 1913.33789, 4.52988, 0.00000},
{698.40424, 1918.14099, 4.52988, 0.00000},
{702.74896, 1912.06152, 4.52988, 0.00000},
{706.62103, 1923.82849, 4.52988, 0.00000}
};
for (new i;i<sizeof(PirmosDaliesMobas);i++)
if(IsPlayerInRangeOfPoint(playerid, 2.0, PirmosDaliesMobas[i][0], PirmosDaliesMobas[i][1], PirmosDaliesMobas[i][2]))