First run this in your SQL:
ALTER TABLE users ADD starter INT(11) DEFAULT 0;
Then in your loggedin.php add this:
if($ir['starter'] ==0)
{
$db->query("INSERT INTO inventory VALUES('',1025,$userid,1)");
event_add($ir['userid'],"you were given a complementary starter pack to get you going",$c);
$db->query("UPDATE users SET starter=1 WHERE userid=$userid");
}
And change the "1025" to the itemid that you want to give and after the $userid change that to the qty that you want to give. The one i have set up is through a donator pack that you cant purchase that I created and thats why it is only 1 item that gives money, crystals, and weapons.