[HELP] How to Set entity of targetname?
:o... hi all i'm here to ask how i can set the entity of targetname? ihave this
{ for (new i = 1; i <= 32; ++i) { if( !is_user_connected(i) ) { continue; } new ent, body; get_user_aiming(id, ent, body, 320); if (isBlock(ent)) { new blockType = entity_get_int(ent, EV_INT_body); new szName[32]; new Names = entity_get_int(ent, EV_FS_TARGETNAME); pev(ent, pev_targetname, szName, 31); if( szName[0] == '^0' ) { copy(szName, 31, "Unknown"); } set_hudmessage(gHudRed, gHudGreen, gHudBlue, gfTextX, gfTextY, gHudEffects, gfHudFxTime, gfHudHoldTime, gfHudFadeInTime, gfHudFadeOutTime, gHudChannel); show_hudmessage(i, "Block Type: %s^nCreator: %s", gszBlockNames[blockType], szName[Names]); } but it still not work :o.. |
Re: [HELP] How to Set entity of targetname?
Try this.
PHP Code:
|
Re: [HELP] How to Set entity of targetname?
it dont work yet :o... it still the same..., hm.. maybe.... i need set the entity but idk how..., :o.. i remember is
entity_set_int(ent, EV_FS_TARGETNAME); but idk.. still :o.. is kinda confuse.. |
Re: [HELP] How to Set entity of targetname?
i know 2 form... of it...
PHP Code:
PHP Code:
PHP Code:
|
Re: [HELP] How to Set entity of targetname?
Well, you can also try this.
PHP Code:
|
Re: [HELP] How to Set entity of targetname?
PHP Code:
|
Re: [HELP] How to Set entity of targetname?
Quote:
|
Re: [HELP] How to Set entity of targetname?
Quote:
|
Re: [HELP] How to Set entity of targetname?
no one work.. :P it's is weird....
|
Re: [HELP] How to Set entity of targetname?
Yeah... I'm having the same problem as hibiki... when i put that there it show's unknown to all the blocks...
|
| All times are GMT -4. The time now is 02:26. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.