if Message == "!weapon ion" or Message == "!ion" then if Purchase_Item(Get_GameObj(pID), 1800) == 1 then local pos = Get_Position(Get_GameObj(pID)) Grant_Powerup(Get_GameObj(pID), "CnC_POW_IonCannonBeacon_Player") Grant_Powerup(Get_GameObj(pID), "CnC_POW_Ammo_ClipMax") InputConsole("msg [NR]: %s has purchased a 30 second ion cannon beacon.", Get_Player_Name_By_ID(pID)) else InputConsole("ppage %d You Need 1800 credits to buy this.", pID) end end