The Meaning of Life, the Universe, and Everything.
Join Date:
7/27/2014
Posts:
54
Member Details
Hey, I am learning addon development, and I just got building sorted. All i am asking for is an example project to send the player a message when they join the game.
Could someone send me the source that would do this in native code?
function newLevel(){
clientMessage("Hi!");
}
Im getting confused on hooking and all of that, and examples are how i learn!
but for some reason if i try to create a new string and pass it through the game crashes... for some reason the variable msg (the one that works - and doesnt change anything) is a std::simple_string<char> . i even tried creating a new string like this:
Hey, I am learning addon development, and I just got building sorted. All i am asking for is an example project to send the player a message when they join the game.
Could someone send me the source that would do this in native code?
function newLevel(){
clientMessage("Hi!");
}
Im getting confused on hooking and all of that, and examples are how i learn!
Thanks
Well you already wrote the function in ModPE. Did you mean in addon?😁
I meant in c++ add on format lmao. I know modpe xd
So has anyone got any c++ code for this?
uh if you know nothing about c++ or js then i suggest you start with js modding first and slowly build up to c++
Omg I know js and c++, I'm one of the most well known modders
All in asking is some help with hooking functions
Ok, i got hooking sorted - this works:
Sure let's chat on kik messenger. My kik is MCPE5893.
sorry :/ ive never heard of you
... but i have now! 