Variables Question
#3

do you dont get it well sorta the problem here is can you give me a example a better one or tell me what exactly to do to get it working? this is what im trying to do now but im fallin lmao!!!

Код:
else if(PlayerInfo[playerid][pLockerSlot5] == 0 )//lockerslot5
				  {
					  new Matsa = PlayerInfo[playerid][pMatsA];
				    ammount = strval(tmp);
            PlayerInfo[playerid][pMatsA] -= Matsa ammount;
            PlayerInfo[playerid][pLockerSlot5] += ammount;
            GetPlayerName(playerid, sendername, sizeof(sendername));
            format(string, sizeof(string), "* %s places some mats in their locker.", sendername);
	          ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
 	          format(string, sizeof(string), "You have stored %d A mats in your locker.", ammount);
	          SendClientMessage(playerid, COLOR_GREY, string);
            return 1;
          }
that code i use checks for the lockerslot thats free and store the item so can you correct this for me? im falling hard lol
Reply


Messages In This Thread
Variables Question - by Onyx09 - 10.04.2010, 17:57
Re: Variables Question - by UsaBoy91 - 10.04.2010, 18:02
Re: Variables Question - by Onyx09 - 10.04.2010, 18:07

Forum Jump:


Users browsing this thread: 1 Guest(s)