catchme Posted August 3, 2019 Posted August 3, 2019 Hi everyone Can someone answer me how create peds in c#? NAPI.Ped.CreatePed (serverside) is not working How to do this in client side (c#)? exampe pls RAGE.Game.Ped.CreatePed(int pedType, uint modelHash, float x, float y, float z, float heading, bool isNetwork, bool p7) and what is "isNetwork", "p7"?
mDenis16 Posted August 5, 2019 Posted August 5, 2019 NAPI.Ped.CreatePed isnt impelmented yet you need to create it in clientside and sync it for all players
catchme Posted August 8, 2019 Author Posted August 8, 2019 В 05.08.2019 в 10:40, mDenis16 сказал: NAPI.Ped.CreatePed isnt impelmented yet you need to create it in clientside and sync it for all players read my message again ty
crying_bae Posted August 8, 2019 Posted August 8, 2019 Server side: mp.players.call("createPed") Client side: mp.events.add("createPed", () => { let ped = mp.peds.new(...); }); // ... and so on
catchme Posted August 8, 2019 Author Posted August 8, 2019 1 час назад, draobrehtom сказал: Server side: mp.players.call("createPed") Client side: mp.events.add("createPed", () => { let ped = mp.peds.new(...); }); // ... and so on В 03.08.2019 в 07:57, catchme сказал: How to do this in client side (c#)? exampe pls
Xabi Posted August 8, 2019 Posted August 8, 2019 Did you try instantiating the Ped class like this? RAGE.Elements.Ped myPed = new RAGE.Elements.Ped(uint model, Vector3 position, [float heading = 0], [uint dimension = 0]); 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now