[Ajuda] Warning 202 - 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 202 (
/showthread.php?tid=632131)
Warning 202 -
ClaudioG231 - 09.04.2017
Code : Aparece ao compilar warning 202 number of arguments does not match definition
if(strcmp("/heliposto", cmd, true) == 0)
{
if(IsPlayerInAnyVehicle(playerid))
{
SetPlayerInterior(playerid, 0);
SetVehiclePosEx(GetPlayerVehicleID(playerid), 1007.497192, -936.742431, 48.211837);
LinkVehicleToInterior(GetPlayerVehicleID(playerid) , 0);
}
else
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 1007.497192,-936.742431,48.211837);
}
return 1;
}
Re: Warning 202 -
WILK3R - 09.04.2017
PHP код:
if(strcmp("/heliposto", cmd, true) == 0)
{
if(IsPlayerInAnyVehicle(playerid))
{
SetPlayerInterior(playerid, 0);
SetVehiclePos(GetPlayerVehicleID(playerid), 1007.497192, -936.742431, 48.211837);
LinkVehicleToInterior(GetPlayerVehicleID(playerid) , 0);
}
else
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 1007.497192,-936.742431,48.211837);
}
return 1;
}
Re: Warning 202 -
ClaudioG231 - 09.04.2017
Obrigado