[Ayuda] Necesito ayuda para implementar mi comando.
#5

Bueno te lo pongo mas facil por si acaso armando

Код:
if(!strcmp("/vino",cmdtext))
	{
	     if(IsPlayerInRangeOfPoint(playerid, 2.0, 499.6973,-76.0408,998.7578 || IsPlayerInRangeOfPoint(playerid,2.0,499.9702,-20.6870,1000.6797))
	    {
			if (GetPlayerMoney(playerid) <= 99)//siempre se pone un numero menos al que necesita que seria: 100
			{
				SendClientMessage(playerid, COLOR_ROJO, "No tienes Suficiente Dinero Para Comprar Esto.");
				return 1;
				}
			GivePlayerMoney(playerid, -100);
			SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_WINE);
	    }
	    return 1;
	}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)