[SOLVED] Onplayerpickuppickup
#4

its ok i done it now but i get unreachable code error when compiling!?

Line,

if (pickupid == Back)


Around it,


public OnPlayerPickUpPickup(playerid, pickupid)
{
if (pickupid == Home)
{
SetPlayerPos(playerid,1298.3142,-797.9921,84.1406);
}
return 1;

if (pickupid == Back)

{
SetPlayerPos(playerid,1384.9432,-2487.6943,16.9050);
}
return 1;
}
Reply


Messages In This Thread
[SOLVED] Onplayerpickuppickup - by cozza123456 - 14.08.2009, 11:59
Re: [UNSOLVED] Onplayerpickuppickup - by Dj_maryo1993 - 14.08.2009, 12:38
Re: [UNSOLVED] Onplayerpickuppickup - by saiberfun - 14.08.2009, 12:58
Re: [UNSOLVED] Onplayerpickuppickup - by cozza123456 - 14.08.2009, 13:29

Forum Jump:


Users browsing this thread: 1 Guest(s)