Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I'm new and have a couple of questions about modding with Scripthook.net and that.
- How would I Ma nipulate every type of ped in the world? this is what i've tried but can't figure it out.
- foreach (Ped Zombie01 in world)
- {
- //do stuff
- }
- Also making a weapon spawn on the ground? I've tried this but not sure about the pickup type field?:
- World.CreatePickup(weapon ,Pickup,Game.Player.Character.Position, WeaponHash.AdvancedRifle, 600);
- And I got this working but there is a problem only like 4 or 5 peds attack the other just stand still and stare? any way to get them all to attack the player?
- Vector3 spawnpos1 = Game.Player.Character.GetOffsetInWorldCoords(new Vector3(0, 5, 0));
- Ped Zambie = World.CreatePed(PedHash.Zombie01, spawnpos1);
- UI.Notify("Spawned zombie");
- Zambie.Task.FightAgainst(Game.Player.Character, 1000000);
- //Function.Call(Hash.SET_PED_FLEE_ATTRIBUTES, Zambie,0,0);
- I've been looking for tutorials can't find much stuff that shows about this and I'd also like to implement custom sounds?
- Thanks for reading sorry if this is really basic but I can't find any tutorials/documentation maybe you could link me if there are some good ones?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement