Raised This Month: $51 Target: $400
 12% 

Bad String entity_set_string


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Destro-
Veteran Member
Join Date: Jun 2010
Location: $me->location();
Old 03-14-2014 , 18:49   Bad String entity_set_string
Reply With Quote #1

PHP Code:
static mdl[100]
formatex(mdlcharsmax(mdl), "models/zombie_plague/%s"g_zclass_clawmodel[g_zombieclass[id]])    

_debug(0"1replace_models(%d) model:[%s] mode2[%s], id[%d]"idmdlg_zclass_clawmodel[g_zombieclass[id]], g_zombieclass[id])

entity_set_string(idEV_SZ_viewmodelmdl)

_debug(0"2replace_models(%d) model:[%s] mode2[%s], id[%d]"idmdlg_zclass_clawmodel[g_zombieclass[id]], g_zombieclass[id])

entity_set_string(idEV_SZ_weaponmodel""// Crash

_debug(0"3replace_models(%d) model:[%s] mode2[%s], id[%d]"idmdlg_zclass_clawmodel[g_zombieclass[id]], g_zombieclass[id]) 
PHP Code:
public fw_Sys_Error(const error[])
{
    
_debug_draw()
    
log_to_file("hlds_error.log""error:[%s]"error)

Log:
Code:
L 03/14/2014 - 02:22:56: *DEBUG: 02:22:56: Gametime[65.74] - Info[2replace_models(1) model:[models/zombie_plague/v_gordo.mdl] mode2[v_gordo.mdl], id[3]]
L 03/14/2014 - 02:22:56: error:[SV_ModelIndex: model 9,+.MÁ± 
 Ç ³ÁÛìâ¬:€qü4ÙùsÇBƒv † · Î × × Ö Ê • 7 ˜ÕãϤbÞ¼¿üþÿ> not precached]
is safe use "" string ?, is valid "^0" ?.
__________________

Last edited by Destro-; 03-14-2014 at 18:57.
Destro- is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viña del Mar, Chile
Old 03-14-2014 , 19:30   Re: Bad String entity_set_string
Reply With Quote #2

It's okey, you're doing something else maybe, show the entire code
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
Reply



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 09:05.


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