Pickup help.
#1

Alright, i dunno what i miss here could somebody tell me?

Код:
new piki;
piki = CreatePickup(1239, 1, 362.1396,173.6584,1008.3828);

public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == piki)
{
   GameTextForPlayer(playerid, "~y~Her ligger Jogthedoo", 3500, 1);
	 return 1;
 }
return 0;
}
Gives -
C:\Program Files\Guso\Dvs\LSRP\IK RШR !\V2.pwn(1517) : warning 204: symbol is assigned a value that is never used: "piki"
C:\Program Files\Guso\Dvs\LSRP\IK RШR !\V2.pwn(23691) : error 017: undefined symbol "piki"
Reply
#2

is piki = CreatePickup(1239, 1, 362.1396,173.6584,1008.382; Under ongamemodeinit?

is new piki; at top of script?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)