Pickup help
#1

Hey guys..

I have created a pickup and i wanted to give it a function here is the things i did .. !!

First i defined it ,

pawn Код:
new heli;
added this

pawn Код:
heli = AddStaticPickup(1318, 1, -2353.2561,-1616.3075,483.6445); //Spawn PickUp
Then added this

pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == heli) GivePlayerMoney(playerid,100000);
    return 1;
}
The pickup was in the game and when i went to it showed "type bankhelp...." ... I made this as a filterscript.

In my gamemode script i searched for pickup id and i got the same as it was showing like 'type bank help .. "

How can make this as my command ?
pawn Код:
GivePlayerMoney(playerid,1000000);
NEED HELP , THANK YOU!
Reply


Messages In This Thread
Pickup help - by Pokiri_Boii - 29.07.2012, 13:18
Re: Pickup help - by Littlehelper - 29.07.2012, 13:25
Re: Pickup help - by Pokiri_Boii - 29.07.2012, 13:48
Re: Pickup help - by Littlehelper - 29.07.2012, 13:50
Re: Pickup help - by Devilxz97 - 29.07.2012, 13:53
Re: Pickup help - by Pokiri_Boii - 29.07.2012, 14:05
Re: Pickup help - by Devilxz97 - 29.07.2012, 14:09
Re: Pickup help - by Pokiri_Boii - 29.07.2012, 18:09

Forum Jump:


Users browsing this thread: 1 Guest(s)