This site has been archived and made available for preservation purposes. No edits can be made.
-
Senior Member
Xolitude's Releases
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
Last edited by Xolitude; 08-29-2012 at 04:23 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
Code :
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/Fallou..._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.
-
Senior Member
Originally Posted by
Xeon
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
Code :
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/Fallou..._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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules