[Ayuda] Comandos
#5

pawn Код:
if (strcmp(cmdtext, "/m4", true)==0)
{
 
   if(GetPlayerMoney(playerid) < 500)  
   {
     SendClientMessage(playerid, COLOR_RED, "No tienes suficiente dinero para comprar esto!");
     return 1;
   }
   else
   {
     GivePlayerWeapon(playerid, 31, 200);
     GivePlayerMoney(playerid,-500);
   }
   return 1;
}
Reply


Messages In This Thread
[Ayuda] Comandos - by X-DiEgO-X - 07.03.2010, 18:34
Re: [Ayuda] Comandos - by HuRRiCaNe - 07.03.2010, 18:57
Re: [Ayuda] Comandos - by CristianTdj - 07.03.2010, 19:26
Re: [Ayuda] Comandos - by X-DiEgO-X - 07.03.2010, 20:04
Re: [Ayuda] Comandos - by Miguel - 07.03.2010, 20:38
Re: [Ayuda] Comandos - by TheChaoz - 07.03.2010, 20:47
Re: [Ayuda] Comandos - by X-DiEgO-X - 08.03.2010, 00:33

Forum Jump:


Users browsing this thread: 1 Guest(s)