hello
i want to know how i can rename like that: because i get script runtime error
_quickmessage.gsc:
quickoptions.menu:PHP Code:if(response == "testtag")
{
self setclientcvar("name", "test "+ name);
self iprintlnbold("Your name is changed!");
}
script runtime error:HTML Code:itemDef { name "window" group ingamebox visible 1 rect 16 20 0 0 origin ORIGIN_QUICKMESSAGEWINDOW forecolor 1 1 1 1 textfont UI_FONT_NORMAL textscale .24 textaligny 8 text "1. ^1rename in test tag" decoration } execKey "r" { scriptMenuresponse "testtag"; close quickoptions }
someone can help me? plsHTML Code:******* script compile error ******* uninitialised variable 'name': (file 'maps/mp/gametypes/_quickmessages.gsc', line 534) self setclientcvar("name", "test "+ name); * ************************************
cordially ORDI
xfire: ordi37zk



Reply With Quote