Log in

View Full Version : Xolitude's Releases



Xolitude
08-23-2012, 09:34 PM
Hello everyone! I am releasing 4 of my scripts :)

https://www.mediafire.com/?owx3715q7dj2ocb

They may be buggy considering the fact they are not running on my server.

YOU may need to edit them.

CREDITS: Recycler, Xolitude(myself), Xeon, NeoPhoenix!

EDIT: Any problems? Post here :)

Xeon
08-23-2012, 10:07 PM
For people that may not understand how to add or change guns i will explain. to add/change the weapons and ammo on the starter item + server name file. This is for starters that don't understand how to do this themselves.

go down to

public OnSpawn(ID){
new BBGun = 0x00004323;
new BBs = 0x0002935b


if (GetContainerItemCount(ID, BBGun) == 0)
{
AddItem(ID, BBGun, 1, 100.0, Bool:true);
AddItem(ID, BBs, 100, 100.0, Bool:true);
EquipItem(ID, BBGun, Bool:true, Bool:true);
}
}

BBs = ammo
BBGun = Gun

changing the name will not do anything, you have to change the base ID, You can find Most weapons base ID here : https://fallout.wikia.com/wiki/Fallout_3_weapons and for NV https://fallout.wikia.com/wiki/Fallout:_New_Vegas_weapons


To understand the AddItem(), I will explain it.

AddItem(ID, (item name), (ammount), (HP), Bool:true);

The item name is what you defined the base ID to. (example - new BBGun = 0x00004323;)


Remember this if for people new to pawn and want a starter pack to get their project going.

Xolitude
08-23-2012, 10:13 PM
For people that may not understand how to add or change guns i will explain. to add/change the weapons and ammo on the starter item + server name file. This is for starters that don't understand how to do this themselves.

go down to

public OnSpawn(ID){
new BBGun = 0x00004323;
new BBs = 0x0002935b


if (GetContainerItemCount(ID, BBGun) == 0)
{
AddItem(ID, BBGun, 1, 100.0, Bool:true);
AddItem(ID, BBs, 100, 100.0, Bool:true);
EquipItem(ID, BBGun, Bool:true, Bool:true);
}
}

BBs = ammo
BBGun = Gun

changing the name will not do anything, you have to change the base ID, You can find Most weapons base ID here : https://fallout.wikia.com/wiki/Fallout_3_weapons and for NV https://fallout.wikia.com/wiki/Fallout:_New_Vegas_weapons


To understand the AddItem(), I will explain it.

AddItem(ID, (item name), (ammount), (HP), Bool:true);

The item name is what you defined the base ID to. (example - new BBGun = 0x00004323;)


Remember this if for people new to pawn and want a starter pack to get their project going.Makes a lot of sense ;)