20.11.2012, 15:56
Im attempting to make it walk into a pickup and then give them 10k
But I get a warning:
This is my code:
So whats the problem? Please help.
But I get a warning:
pawn Код:
error 021: symbol already defined: "OnPlayerPickUpPickup"
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;
}