need help with onplayerpickuppickup
#1

hey i need t know how to sepperate the different pickuppickups

i am doing it like this

if (pickupid == cash)
{
GivePlayerMoney(playerid,500);
}
if (pickupid == cash2)
{
GivePlayerMoney(playerid,500);
}

but when i pickup 1 of them it gives me both so how do i make it so it only does the 1? im thinking i need to sepperate them somehow. thankyou!
Reply


Messages In This Thread
need help with onplayerpickuppickup - by Drift_04 - 15.02.2009, 23:56
Re: need help with onplayerpickuppickup - by AlExAlExAlEx - 15.02.2009, 23:59
Re: need help with onplayerpickuppickup - by Drift_04 - 16.02.2009, 00:00
Re: need help with onplayerpickuppickup - by AlExAlExAlEx - 16.02.2009, 00:20

Forum Jump:


Users browsing this thread: 1 Guest(s)