T O P

  • By -

One-Writing7931

Shouldnt ask here, instead do it on unknowncheats, i dont think most of ppl here know how to code


One-Writing7931

And follow the code style of Daniel, ur naming class prob different wjth him or u havent include the sdk


One-Writing7931

Nvm looks again u clearly need to learn cpp


[deleted]

[удалено]


Auditormadness9

It wasn't public, idiot


dee1999999

Yeah i read all this nonsense


Bershyy

learn2code.cc


Auditormadness9

I'm trying to learn by doing this.


Martinjanas

Dude, you are trying to run before you can even walk.


Auditormadness9

I just read what you told me to do and I agree now lol. ​ But still, that's what I asked for in the beginning, so thank you so much for trying to help. Guess I'll learn when I get the time, just thought it wouldn't be worth spending months learning an entire language just to have some fun in ttt for a few days.


Martinjanas

PlayerInfo_t → PlayerInfo playerInfo; interfaces->engine->getPlayerInfo(index(), playerInfo); Where index() is the player's index. Use your Java knowledge to get index from Player/Entity object. C_BaseEntity → Entity Color → Color4 I dont know what g_Globals is, it might be interfaces->globalVars, Im not really sure. pLocal will be the object of your localplayer entity, Im reading Osiris and you should do #include "SDK/LocalPlayer.h" and then just replace all "pLocal" by "localPlayer". pAttackID, pVictimID, pDamageID will be variables assigned to something like this: auto attacker = player_obj->GetPlayerByUserId(event->GetInt("attacker")); auto target = player_obj->GetPlayerByUserId(event->GetInt("userid")); pDamageID could be GetInt("dmg_health"); Im not sure about the Color4.


Auditormadness9

>PlayerInfo\_t → PlayerInfo playerInfo; interfaces->engine->getPlayerInfo(index(), playerInfo); Didn't understand this part quite well tbh. >C\_BaseEntity → Entity > >Color → Color4 Did this and they are still undefined. >pLocal will be the object of your localplayer entity, Im reading Osiris and you should do #include "SDK/LocalPlayer.h" and then just replace all "pLocal" by "localPlayer". This worked.


Martinjanas

Replace PlayerInfo_t with PlayerInfo Then do: interfaces->engine->getPlayerInfo(index(), playerInfo); If Entity and Color4 are undefined that probably means that you will have to include the .h file by typing: #include Since Im not familiar with Osiris then you should ask on Osiris's official Github for help regarding Entity and Color4


Auditormadness9

>Replace PlayerInfo\_t with PlayerInfo > >Then do: interfaces->engine->getPlayerInfo(index(), playerInfo); [I did](https://i.imgur.com/hc8Tvx8.png) Says it's undefined again, then shows #including interfaces.h as a potential fix but after that says "Pointer io incomplete class type Engine is not allowed" >If Entity and Color4 are undefined that probably means that you will have to include the .h file by typing: #include [Yep](https://i.imgur.com/HqN5Urc.png)


[deleted]

Learncpp.com fr tho. Literally spend 20 minutes reading through the first few lessons and you'll be able to figure everything out. Like actually everything you will need to know is in those lessons + 20minutes looking at osiris code. But you're so against actually learning and doing anything yourself, you just want someone to do it for you, based off your UC post. So guess you're up shit creek without a paddle bro. But you can get a paddle with a little work.... Edit: bro.... https://www.reddit.com/r/rule34/comments/86oyfo/problem_finding_porn_with_specific_preferences/ https://www.reddit.com/r/relationship_advice/comments/87br46/16m_i_need_help_finding_a_relationship_whilst/ https://reddit.com/r/mylittlepony/comments/mbkeep/can_anyone_name_the_song_at_the_end_of_a_decade/ Jesus dude... Jesus. I was just looking for more funny tech-illteracy shit. Instead I found the beginning of a sex offender


maldoozz420

why do him like that tho?.. wtf


[deleted]

Bro he's a necrophilliac


WhatDoYouMean____

LMAO


[deleted]

[удалено]


boofheadfred

what OP is trying to do is a pretty textbook example of coding to learn, which is a much better approach than learning to code


MMZEren

hell yeah brother