06.02.2012, 15:37
Can someone correct this dialog?
The problem is GetPlayerMoney,
thanks
pawn Код:
case DIALOG_WEAPONS:
{
if( response )
{
switch( listitem )
{
case 0:
{
if( response )
{
if(GetPlayerMoney(playerid) <= 1000) || GetPlayerMoney(playerid) -1000);
{
echo(playerid,COLOR_DARKRED,"You have not enough money!");
}
else
{
GivePlayerWeapon(playerid, WEAPON_MP5, 50);
echo(playerid,COLOR_BLUE,"You baught a MP5 with 50 rounds of ammo!");
}
}
thanks