need help!!!
#5

Quote:
Originally Posted by Toniu_
There's plenty of ways to do it, you can do it in my way if you want...


At the top of your script , under all of these defines and includes add
Код:
new info;
// change the name to whatever you want

Then OnGameModeInit add

Код:
info = CreatePickup(1239,2,2227.3433,-1159.1433,25.7836);
OnPlayerPickupPickup

Код:
public OnPlayerPickUpPickup(playerid, pickupid)
}
  if(pickupid == info)
{	     
        SendClientMessage(playerid,0x00F600AA, "text of the message inside the brackets"); 
}
	return 1;
}
// it will give a message in color green change it to whatever you want


As I said there's plenty of ways to do it, I prefer this one
Hey, Toniu_
I did by your way and then i get this warning compiling:

warning 209: function "OnPlayerPickUpPickup" should return a value

Thanks for your guys Attention
Reply


Messages In This Thread
need help!!! - by Fragoso - 18.04.2009, 22:43
Re: need help!!! - by Balkan-SF - 18.04.2009, 22:51
Re: need help!!! - by *ToM* - 18.04.2009, 22:58
Re: need help!!! - by Balkan-SF - 19.04.2009, 08:56
Re: need help!!! - by Fragoso - 19.04.2009, 12:32

Forum Jump:


Users browsing this thread: 3 Guest(s)