09.04.2017, 16:30
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;
}
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;
}