[Ajuda] Warning 202
#1

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;
}
Reply
#2

PHP код:
if(strcmp("/heliposto"cmdtrue) == 0)
    {
        if(
IsPlayerInAnyVehicle(playerid))
        {
            
SetPlayerInterior(playerid0);
            
SetVehiclePos(GetPlayerVehicleID(playerid), 1007.497192, -936.74243148.211837);
            
LinkVehicleToInterior(GetPlayerVehicleID(playerid) , 0);
        }
        else
        {
            
SetPlayerInterior(playerid0);
            
SetPlayerPos(playerid1007.497192,-936.742431,48.211837);
        }
        return 
1;
    } 
Reply
#3

Obrigado
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)