Help with VIP tokens
#4

Try:
Код:
	        {

    			if(PlayerInfo[playerid][pDonateRank] < 1)
			    {
			        if(PlayerInfo[playerid][pTokens] < 1)
			        {
			            SendClientMessageEx(playerid, COLOR_YELLOW, "VIP: You do not have enough tokens for the materials.");
			            return 1;
			        }
		    		PlayerInfo[playerid][pTokens] -= 1;
					format(string, sizeof(string), "VIP: You have traded 1 token for 1000 materials, you now have %d token(s).", PlayerInfo[playerid][pTokens]);
			        SendClientMessageEx(playerid, COLOR_YELLOW, string);
				new currentmats = PlayerInfo[playerid][pMats];
				PlayerInfo[playerid][pMats] = currentmats +1000;
                        }
	        }
Reply


Messages In This Thread
Help with VIP tokens - by Grooty - 14.06.2013, 01:36
Re: Help with VIP tokens - by Goldilox - 14.06.2013, 02:28
Re: Help with VIP tokens - by Grooty - 14.06.2013, 19:39
Re: Help with VIP tokens - by Goldenfox - 14.06.2013, 22:00
Re: Help with VIP tokens - by Grooty - 15.06.2013, 01:27
Re: Help with VIP tokens - by ToiletDuck - 15.06.2013, 01:38

Forum Jump:


Users browsing this thread: 1 Guest(s)