public OnSpawn(ID)
{
if (IsPlayer(ID))
{
new sendmsg {MAX_MESSAGE_LENGTH};
new pname[255];
SetActorBaseSex(ID, false);
GetName(ID, pname);
strformat(sendmsg, sizeof(sendmsg), true, "Welcome, %s!", pname);
//adding first time inventory...
AddItem(ID, 0x000080A, 1, 45.0, true);
AddItem(ID, 0x0034122, 1, 54.0, true);
AddItem(ID, 0x00207f7, 59, 100.0, true);
AddItem(ID, 0x0015169, 6, 100.0, true);
AddItem(ID, 0x000000F, 89, 100.0, true);
//equip it now
EquipItem(ID, 0x000080A, false, false);
EquipItem(ID, 0x0034122, false, false);
ChatMessage(ID, sendmsg);
}
}