Buygun problem
#4

pawn Код:
//---------------------[BUYGUN]-------------------------------

  if(strcmp("/buygunuzi", cmdtext, true, 4) == 0){
  if(GetPlayerMoney(playerid) < 10000) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "You dont have the Money for that");
  if(IsInDM[playerid] == 1) return SendClientMessage(playerid, COLOR_DBLUE, "You must leave the DM First. type /kill to leave.");
  GivePlayerWeapon(playerid,28,1500);
  GivePlayerMoney(playerid, -10000);
  return 1;
  }
 
 
  if(strcmp("/buygunm4",cmdtext,true,3) == 0){
  if(GetPlayerMoney(playerid) < 10000) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "You dont have the Money for that");
  if(IsInDM[playerid] == 1) return SendClientMessage(playerid, COLOR_DBLUE, "You must leave the DM First. type /kill to leave.");
  GivePlayerWeapon(playerid,30,800);
  GivePlayerMoney(playerid,-10000);
  return 1;
  }


  if(strcmp("/buygundeagle",cmdtext,true,7) == 0){
  if(GetPlayerMoney(playerid) < 10000) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "You dont have the Money for that");
  if(IsInDM[playerid] == 1) return SendClientMessage(playerid, COLOR_DBLUE, "You must leave the DM First. type /kill to leave.");
  GivePlayerWeapon(playerid,24,357);
  GivePlayerMoney(playerid,-10000);
  return 1;
  }
 
 
  if(strcmp("/buygunspas12",cmdtext,true,5) == 0){
  if(GetPlayerMoney(playerid) < 10000) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "You dont have the Money for that");
  if(IsInDM[playerid] == 1) return SendClientMessage(playerid, COLOR_DBLUE, "You must leave the DM First. type /kill to leave.");
  GivePlayerWeapon(playerid,27,357);
  GivePlayerMoney(playerid,-10000);
  return 1;
  }
 
 
  if(strcmp("/buygunsniper",cmdtext,true,7) == 0){
  if(GetPlayerMoney(playerid) < 10000) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "You dont have the Money for that");
  if(IsInDM[playerid] == 1) return SendClientMessage(playerid, COLOR_DBLUE, "You must leave the DM First. type /kill to leave.");
  GivePlayerWeapon(playerid,34,200);
  GivePlayerMoney(playerid,10000);
  return 1;
  }

  if(strcmp("/buygunsawnoff", cmdtext, true, 13) == 0){
  if(GetPlayerMoney(playerid) < 10000) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "You dont have the Money for that");
  if(IsInDM[playerid] == 1) return SendClientMessage(playerid, COLOR_DBLUE, "You must leave the DM First. type /kill to leave.");
  GivePlayerWeapon(playerid, 28, 256);
  GivePlayerMoney(playerid, -10000);
  return 1;
  }
Sorry for that post but...
Reply


Messages In This Thread
Buygun problem - by Frankox - 09.07.2009, 11:11
Re: Buygun problem - by Frankox - 09.07.2009, 12:01
Re: Buygun problem - by Lazarus - 09.07.2009, 13:42
Re: Buygun problem - by Fay-Tony - 09.07.2009, 14:03

Forum Jump:


Users browsing this thread: 2 Guest(s)