OnPlayerPickupPickup help
#1

Im attempting to make it walk into a pickup and then give them 10k
But I get a warning:
pawn Код:
error 021: symbol already defined: "OnPlayerPickUpPickup"
This is my code:
pawn Код:
new bluedoorenter;

bluedoorenter = CreatePickup(1318, 1, 203.0187,-1834.0686,10.2663, -1);

public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == bluedoorenter) GivePlayerMoney(playerid,10000);
    return 1;
}
So whats the problem? Please help.
Reply
#2

Where stand that code u line please?
Reply
#3

Quote:
Originally Posted by Mustafa6155
Посмотреть сообщение
Where stand that code u line please?
That makes no sense?
Reply
#4

You probably have twice OnPlayerPickupPickup seach for it
Reply
#5

I feel so stupid -_- Thanks vernz!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)