[Ajuda] Pickup
#1

Pessoal eu sou MUUUUUUUUUUITOOOOOOOOOOOOOO novato em pawno e queria criar algumas pickups porйm quando vou criar dб alguns erros

Код:
C:\#SA-MP Server GM\gamemodes\gmsamp.pwn(688) : error 029: invalid expression, assumed zero
C:\#SA-MP Server GM\gamemodes\gmsamp.pwn(688) : error 004: function "OnPlayerPickUpPickup" is not implemented
C:\#SA-MP Server GM\gamemodes\gmsamp.pwn(690) : error 017: undefined symbol "pickupid"
C:\#SA-MP Server GM\gamemodes\gmsamp.pwn(692) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
O cуdigo da pickup estб assim:

PHP код:
public OnGameModeInit ()
{
    new 
colete;
    
colete CreatePickup(124222613.5334,1824.0939,10.82030);
public 
OnPlayerPickUpPickup(playerid1242)
{
   if(
pickupid == colete)
   {
       
SetPlayerArmour(playerid100);
   }
   return 
1;
}

Reply


Messages In This Thread
Pickup - by MituhBR - 16.12.2017, 23:51
Re: Pickup - by Marllun - 17.12.2017, 00:24
Re: Pickup - by JamesDias - 17.12.2017, 00:26
Re: Pickup - by Pool - 17.12.2017, 01:32
Re: Pickup - by MituhBR - 17.12.2017, 11:22

Forum Jump:


Users browsing this thread: 2 Guest(s)