Hi another question ;)
Posted: Wed Sep 24, 2008 2:11 am
/*
var npcdatabase := ReadConfigFile("npcdesc");
var alignment := npcdatabase[npc.npctemplate].alignment;
Print( npc.alignment );
If( npc.alignment == "evil" )
Return TEXT_MURDER_COLOR;
EndIf
if( npc.alignment == "good" )
Return TEXT_INNOCENT_COLOR;
EndIf
*/
i'm working on my singleclickhook system, adapting for zuluhotel system, builded by beaud, i don't know why i used print after the variable 'alignment', and returning <unitialized object> i don't know what to do =/, i'm working in pol 096.7 core
thanks
Ps: MontuZ, thanks by the other post
var npcdatabase := ReadConfigFile("npcdesc");
var alignment := npcdatabase[npc.npctemplate].alignment;
Print( npc.alignment );
If( npc.alignment == "evil" )
Return TEXT_MURDER_COLOR;
EndIf
if( npc.alignment == "good" )
Return TEXT_INNOCENT_COLOR;
EndIf
*/
i'm working on my singleclickhook system, adapting for zuluhotel system, builded by beaud, i don't know why i used print after the variable 'alignment', and returning <unitialized object> i don't know what to do =/, i'm working in pol 096.7 core
thanks
Ps: MontuZ, thanks by the other post