My Codec And Didnt Added My Credits!!
public OnPickedUp(pickupid, playerid)
{
if ( pickupid == 115)
{
SetPlayerMoney(playerid,GetPlayerMoney(playerid) + 10000); // +10.000$ to the cash
SendClientMessage(playerid, JACK_WHITE, "You picked up briefcase! Award: 10000$");
}
if ( pickupid == 2)
{
SetPlayerMoney(playerid,GetPlayerMoney(playerid) + 50000); // +50.000$ to the cash
SendClientMessage(playerid, JACK_WHITE, "You picked up bank cash!");
}
if ( pickupid == 2)
{
SetPlayerWeapon(playerid, 21, 276);
SendClientMessage(playerid, JACK_WHITE, "You picked up box with a ruger!");
}
if ( pickupid == 116)
{
SetPlayerDrunk(playerid, 300, 300);
SendClientMessage(playerid, JACK_WHITE, "You drink a beer!");
}
if ( pickupid == 117)
{
SendClientMessage(playerid, JACK_WHITE, "Now you can rob bank!");
}
if ( pickupid == 118)
{
SetPlayerDrunk(playerid, 0, 0);
SendClientMessage(playerid, JACK_WHITE, "Your drink down!");
}
if ( pickupid == 119)
{
SendClientMessage(playerid, JACK_WHITE, "deposit your cash to bank!");
}
if ( pickupid == 120)
{
SendClientMessage(playerid, JACK_WHITE, "No Prop are for sale!");
}
if ( pickupid == 121)
{
SetPlayerMoney(playerid,GetPlayerMoney(playerid) + 5000);
SendClientMessage(playerid, JACK_WHITE, "You picked up cash!");
}
if ( pickupid == 122)
{
SetPlayerHealth( playerid, 100.0 );
SendClientMessage(playerid, JACK_WHITE, "You picked health!");
}
if ( pickupid == 0)
{
SetPlayerHealth(playerid, 150.0 );
SendClientMessage(playerid, BLUE, "You have 150 health!");
}
return 1;
}
RuleBreaking. Didnt Provide Informations!!