02.07.2011, 01:35
(
Последний раз редактировалось Shadoww5; 02.07.2011 в 12:42.
)
Quote:
pawn Код:
|
PHP код:
CMD:BuyBackpack(playerid, params[])
{
#pragma unused params
if(IsPlayerInRangeOfPoint(playerid, 5, -152.7479,-72.4470,1065.8430))
{
SetPlayerAttachedObject( playerid, 0, 3026, 1, -0.135905, -0.035217, -0.004736, 0.000000, 0.000000, 0.000000, 0.938511, 1.195391, 1.403976 );
GetPlayerMoney(playerid, -25);
}
return 1;
}
CMD:BuyBeer(playerid, params[])
{
#pragma unused params
if(IsPlayerInRangeOfPoint(playerid, 5, -166.8134,-72.7598,1065.8430))
{
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_BEER);
GetPlayerMoney(playerid, -5);
}
return 1;
}
CMD:BuySprunk(playerid, params[])
{
#pragma unused params
if(IsPlayerInRangeOfPoint(playerid, 5, -166.8134,-72.7598,1065.8430))
{
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_SPRUNK);
GetPlayerMoney(playerid, -5);
}
return 1;
}
CMD:BuyWhine(playerid, params[])
{
#pragma unused params
if(IsPlayerInRangeOfPoint(playerid, 5, -166.8134,-72.7598,1065.8430))
{
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_WINE);
GetPlayerMoney(playerid, -5);
}
return 1;
}