SA-MP Forums Archive
[Ajuda]Pickup - 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]Pickup (/showthread.php?tid=293318)



[Ajuda]Pickup - ThziinHTS4EveR - 28.10.2011

Estou Criando Um PickUp Codigo Abaixo :

Код:
public OnPlayerPickUpPickup(playerid, pickupid)
if(pickupid == pickup)
{
return 1;

}
e Ta Dando Esse Warning :

Код:
warning: 209: function "OnPlayerPickUpPickup" should return a value
Alguem Sabe Como Arrrumar ?


Respuesta: [ERRO]Pickup - DrTHE - 28.10.2011

poste o OnPlayerPickUpPickup todo


Re: [ERRO]Pickup - steki. - 28.10.2011

No fim do OnPlayerPickupPickup, antes do '}' apenas dк um 'return 1;'

=)


Re: [ERRO]Pickup - [O.z]Caroline - 28.10.2011

pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
     if(pickupid == pickup)
     {
          return 1;
     }
     return 1;
}



Re: [ERRO]Pickup - ThziinHTS4EveR - 28.10.2011

Vlw Consegui Ake!