Raised This Month: $32 Target: $400
 8% 

how to set data to client..


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
JerryJerryAdios
Member
Join Date: Jun 2015
Location: the universe
Old 11-16-2016 , 22:43   how to set data to client..
Reply With Quote #1

i thought the code below should have worked... but it actually crashes the game.... is there anything wrong? Thank you!
PHP Code:
clientdata_t *pPlayer NULL;
pPlayer->health 20
PHP Code:
void testfx(void)
{
    
clientdata_t *pPlayer NULL;
    
pPlayer->health 20;
}

void HUD_Init(void)
{
    
gEngfuncs.pfnAddCommand("noooo"testfx);
    return 
gExportfuncs.HUD_Init();

__________________
This is a Super Awesome Asking Guy! Don't mind alright? Just be cool!

Last edited by DarkDeviL; 11-18-2016 at 01:28. Reason: Restored post
JerryJerryAdios is offline
Send a message via Skype™ to JerryJerryAdios
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode