Hi im using an inkey to put a playername in.
But now im having a white box where the text must come in,
And quest what.. the inkey text is aswell white...
I tryed with vector my.blue and in the panel* blue green red
but it looks like nothing is working to change the color of the inkey text.
Aswell when i want to compare the text with a string it doesn't work. :S
I dont know why but maybe there is a solution to go around this on another way ?
here some of my code:
Inkey code:
set(entry_txt,VISIBLE);
inkey(entry_str);
if (result == 13)
{
level_load ("testlvl.WMB");
wait(-1);
my = ent_create ("blueguard.mdl",vector(0,0,45),NULL);
reset(entry_txt,VISIBLE);
reset(Plogin,VISIBLE);
reset(messages_txt, VISIBLE);
set(txtChat, VISIBLE);
set(pSlotbars, VISIBLE);
Camera_Action();
Player_Action();
PlayerHUD();
}
/////////////////////////////
TEXT* entry_txt = // displays the playername put in
{
layer = 55;
pos_x = 10;
pos_y = 50;
layer = 10;
string (entry_str);
}
greetzzz,