15.02.2009, 23:56
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!
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!