Quote:
Originally Posted by Banana_Ghost
pawn Код:
//Put this somewhere at the top of your script. new informationpickup; public OnGameModeInit() { Create3DTextLabel("Information", -1, 0, 0,10, 50, 0, 0); informationpickup = CreatePickup(1239, 1, 0, 0, 10, -1); return 1; }
public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == informationpickup) { //Put here what you want this pickup to do. } return 1; }
Edit the coordinates, etc, to suit your needs.
|
Can you please explain it to me, I don't just want to copy and paste.