[Ajuda] Ajuda com Warning 209
#2

Falto o return no final da public:
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    for(new i = 0; i <= 300; i ++)
    {
        if(pickupid == PTriadsEnt)
        {
            SetPlayerVirtualWorld(playerid,2);
            SetPlayerInterior(playerid, 5);
            PlayerInfo[playerid][pInt] = 5;
            SetPlayerPos(playerid, 1300.1476,-792.1729,1084.0078);
            return 1;
        }
        if(pickupid == PTriadsSai)
        {
            SetPlayerVirtualWorld(playerid,0);
            SetPlayerInterior(playerid, 0);
            PlayerInfo[playerid][pInt] = 0;
            SetPlayerPos(playerid,1254.4391,-785.5446,92.0302);
            return 1;
        }
        if(pickupid == PCorleoneEnt)
        {
            SetPlayerVirtualWorld(playerid,3);
            SetPlayerInterior(playerid, 5);
            PlayerInfo[playerid][pInt] = 5;
            SetPlayerPos(playerid, 1300.1476,-792.1729,1084.0078);
            return 1;
        }
        if(pickupid == PCorleoneSai)
        {
            SetPlayerVirtualWorld(playerid,0);
            SetPlayerInterior(playerid, 0);
            PlayerInfo[playerid][pInt] = 0;
            SetPlayerPos(playerid, -2722.7732,-314.7871,7.1775);
            return 1;
        }
    }
    return 1;
} // Linha do Warning
Reply


Messages In This Thread
Ajuda com Warning 209 - by victor304 - 19.07.2012, 08:50
Re: Ajuda com Warning 209 - by TopFuel - 19.07.2012, 09:02
Re: Ajuda com Warning 209 - by victor304 - 19.07.2012, 09:29

Forum Jump:


Users browsing this thread: 1 Guest(s)