Anyway to pass struct edict_t * pEdict ?

Please post any questions about developing your plugin here. Please use the search function before posting!
Omega_K2
Senior Member
Posts: 227
Joined: Sat Jul 07, 2012 3:05 am
Location: Europe
Contact:

[FIXED]Anyway to pass struct edict_t * pEdict ?

Postby Omega_K2 » Wed Jul 31, 2013 7:51 pm

Was trying to use, CEngineServer.client_printf and CEngineServer.client_command .

How can I get the proper type passed? I.e. casting from CEdict (or actually CPlayerInfo)
Libraries: k2tools
Plugins (any): GSRPG (soon) | Pretty Status List | MySQLAds (soon)
Plugins (game-specific): None atm

If you happen to find a bug or need help, either post in the release threads or contact me in IRC gamesurge.net:6667 / #sourcepython
User avatar
Ayuto
Project Leader
Posts: 2195
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Postby Ayuto » Wed Jul 31, 2013 10:16 pm

Omega_K2
Senior Member
Posts: 227
Joined: Sat Jul 07, 2012 3:05 am
Location: Europe
Contact:

Postby Omega_K2 » Wed Jul 31, 2013 11:09 pm

Yes, it should be - 447 (26905ae8289d). Just compiled too.

Edit: Meh, that was stupidity on my part.. I forgot to copy the newest .dlls over, missed that the other one had modify date 30.06. and not 30.07 -.- Gonna test again

Edit2: Works. Thx (though get_address crashes with bots. Might need to add a note in the wiki or something about that)
Libraries: k2tools

Plugins (any): GSRPG (soon) | Pretty Status List | MySQLAds (soon)

Plugins (game-specific): None atm



If you happen to find a bug or need help, either post in the release threads or contact me in IRC gamesurge.net:6667 / #sourcepython

Return to “Plugin Development Support”

Who is online

Users browsing this forum: No registered users and 39 guests