Allow/Disallow?
#10

Well this how i did it xD

Код:
	    if(strcmp("/extract", cmdtext, true, 5) == 0)
		{
        if(PlayerInfo[playerid][FuelAmount] < 1000)
		{
		return SendClientMessage(playerid, RED, "[ATT]: You Dont Have Enough Fuel For This To Be Delivered!)");
        }
        new Float:x, Float:y, Float:z, Float:az;
        GetPlayerPos(playerid, x, y, z);
        GetPlayerFacingAngle(playerid, az);
        CreateVehicle(469, x+5, y+5, z, az, -1, -1, 180);
		SendClientMessage(playerid, RED, "[ATT]: Extraction Has Arrived! (Cost: 1000 Fuel To Deliver)");
		PlayerInfo[playerid][FuelAmount] = PlayerInfo[playerid][FuelAmount] -1000;
        return 1;
        }
Reply


Messages In This Thread
Allow/Disallow? - by <Weponz> - 26.10.2010, 18:48
Re: Allow/Disallow? - by BMUK - 26.10.2010, 18:51
Re: Allow/Disallow? - by per~fectionist - 26.10.2010, 18:55
Re: Allow/Disallow? - by <Weponz> - 26.10.2010, 18:55
Re: Allow/Disallow? - by <Weponz> - 26.10.2010, 19:00
Re: Allow/Disallow? - by per~fectionist - 26.10.2010, 19:00
Re: Allow/Disallow? - by per~fectionist - 26.10.2010, 19:02
Re: Allow/Disallow? - by <Weponz> - 26.10.2010, 19:04
Re: Allow/Disallow? - by SampStunta - 26.10.2010, 19:05
Re: Allow/Disallow? - by <Weponz> - 26.10.2010, 19:17

Forum Jump:


Users browsing this thread: 1 Guest(s)