[Help] Trunk problem
#1

Код:
			            new Float:plyArmour;
			            GetPlayerArmour(playerid, plyArmour);

                        if(plyArmour != 0)
			            {
			                SetPlayerArmour(playerid, 0);
			                vehTrunkArmour[result] = plyArmour;

			                GetPlayerName(playerid, sendername, sizeof(sendername));
			                format(string, sizeof(string), "* %s takes off his/her body armour and puts it into car trunk.", sendername);
			                ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
			                SaveTrunk();
			                return 1;
			            }
			            else
			            {
			                SendClientMessage(playerid, COLOR_GREY, "   You haven't got any armour ");
			                return 1;
			            }
			        }
This is saving the armour to you trunk... how can i make it with my drug system i'm using PlayerInfo[playerid][pDrugs]
Reply


Messages In This Thread
[Help] Trunk problem - by Jimbo01 - 19.01.2011, 17:15
Re: [Help] Trunk problem - by Elviss - 19.01.2011, 17:26
Re: [Help] Trunk problem - by Jimbo01 - 19.01.2011, 17:31

Forum Jump:


Users browsing this thread: 3 Guest(s)