SA-MP Forums Archive
[Ajuda] Warning ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Warning ? (/showthread.php?tid=440430)



Warning ? - BielCOP - 29.05.2013

Linha

pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 15.0,2224.1484,-1141.8772,1025.7969) || IsPlayerInRangeOfPoint(playerid, 1.0,1929.5409,-1785.1664,13.5469) || IsPlayerInRangeOfPoint(playerid, 1.0,2232.2886,-1162.6107,25.8906) || IsPlayerInRangeOfPoint(playerid, 1.0,1550.4796,-1669.7039,13.5624) || IsPlayerInRangeOfPoint(playerid, 15.0,957.4803,-48.7381,1001.1172) || IsPlayerInRangeOfPoint(playerid, 15.0,229.6725,153.8311,1003.0234) ||
IsPlayerInRangeOfPoint(playerid, 15.0,241.0845,115.2740,1003.2188) || IsPlayerInRangeOfPoint(playerid, 15.0,321.4753,305.5962,999.1484) || IsPlayerInRangeOfPoint(playerid, 15.0,-1347.6376,499.9476,11.1953) || IsPlayerInRangeOfPoint(playerid, 1.0, playerid,2308.7908,-13.2499,26.7422) || IsPlayerInRangeOfPoint(playerid, 15.0,1468.6473,-1767.3595,18.7958))
Warning

pawn Код:
C:\Documents and Settings\Administrador\Desktop\Fundacao CORPORATION OF PAWNO\Fundacao CORPORATION OF PAWNO\Equipe COP\GAMEMODES\RPG.pwn(24016) : warning 202: number of arguments does not match definition



Re: Warning ? - smiiir - 29.05.2013

pawn Код:
if ( IsPlayerInRangeOfPoint ( playerid, 15.0, 2224.1484, -1141.8772, 1025.7969 ) ||
     IsPlayerInRangeOfPoint ( playerid, 1.0, 1929.5409, -1785.1664, 13.5469 ) ||
     IsPlayerInRangeOfPoint ( playerid, 1.0, 2232.2886, -1162.6107, 25.8906 ) ||
     IsPlayerInRangeOfPoint( playerid, 1.0, 1550.4796, -1669.7039, 13.5624 ) ||
     IsPlayerInRangeOfPoint( playerid, 15.0, 957.4803, -48.7381, 1001.1172 ) ||
     IsPlayerInRangeOfPoint( playerid, 15.0, 229.6725, 153.8311, 1003.0234 ) ||
     IsPlayerInRangeOfPoint( playerid, 15.0, 241.0845, 115.2740, 1003.2188 ) ||
     IsPlayerInRangeOfPoint( playerid, 15.0, 321.4753, 305.5962, 999.1484 ) ||
     IsPlayerInRangeOfPoint( playerid, 15.0, -1347.6376, 499.9476, 11.1953 ) ||
     IsPlayerInRangeOfPoint( playerid, 1.0, 2308.7908, -13.2499, 26.7422 ) ||
     IsPlayerInRangeOfPoint( playerid, 15.0, 1468.6473, -1767.3595, 18.7958 ) )
Local do erro:

pawn Код:
if ( IsPlayerInRangeOfPoint ( playerid, 15.0, 2224.1484, -1141.8772, 1025.7969 ) ||
     IsPlayerInRangeOfPoint ( playerid, 1.0, 1929.5409, -1785.1664, 13.5469 ) ||
     IsPlayerInRangeOfPoint ( playerid, 1.0, 2232.2886, -1162.6107, 25.8906 ) ||
     IsPlayerInRangeOfPoint( playerid, 1.0, 1550.4796, -1669.7039, 13.5624 ) ||
     IsPlayerInRangeOfPoint( playerid, 15.0, 957.4803, -48.7381, 1001.1172 ) ||
     IsPlayerInRangeOfPoint( playerid, 15.0, 229.6725, 153.8311, 1003.0234 ) ||
     IsPlayerInRangeOfPoint( playerid, 15.0, 241.0845, 115.2740, 1003.2188 ) ||
     IsPlayerInRangeOfPoint( playerid, 15.0, 321.4753, 305.5962, 999.1484 ) ||
     IsPlayerInRangeOfPoint( playerid, 15.0, -1347.6376, 499.9476, 11.1953 ) ||
     IsPlayerInRangeOfPoint( playerid, 1.0, playerid, 2308.7908, -13.2499, 26.7422 ) || // AQUI
     IsPlayerInRangeOfPoint( playerid, 15.0, 1468.6473, -1767.3595, 18.7958 ) )



Re: Warning ? - BielCOP - 29.05.2013

Vlw iSmirnoff ;P

+REP


Re: Warning ? - -Rafinha_FusioN- - 29.05.2013

Ajuda Eu Aqui Sminorff
https://sampforum.blast.hk/showthread.php?tid=440251