/buyguns not working
#2

u can just separate them which is the easy way like this :

Код:
     if(strcmp(cmdtext,"/buyguns 1",true)==0) {
            if(GetPlayerMoney(playerid) >= 20000)
			{
          	SendClientMessage(playerid, COLOR_OOC, "Computer: You purchased a rocket launcher!");
          	GivePlayerWeapon(playerid, 36, 5);
          	GivePlayerMoney(playerid, -20000);
          }
          else { SendClientMessage(playerid, COLOR_OOC, "Computer: You Don't Have Enough Money"); }
         return 1;
        }
same for /buyguns 2 , 3 ,4 etc..
Reply


Messages In This Thread
/buyguns not working - by 02manchestera - 10.03.2010, 17:21
Re: /buyguns not working - by aircombat - 10.03.2010, 17:28
Re: /buyguns not working - by 02manchestera - 10.03.2010, 17:47
Re: /buyguns not working - by aircombat - 10.03.2010, 17:54
Re: /buyguns not working - by 02manchestera - 10.03.2010, 18:20
Re: /buyguns not working - by 02manchestera - 10.03.2010, 18:25
Re: /buyguns not working - by Desert - 10.03.2010, 18:36
Re: /buyguns not working - by aircombat - 10.03.2010, 19:26
Re: /buyguns not working - by 02manchestera - 10.03.2010, 19:59

Forum Jump:


Users browsing this thread: 1 Guest(s)