question

steelfox001 avatar image
steelfox001 asked

How to get information

Hi result contain {"remid":"1F28EC2E87FCA0B7"}

but how to get Value.

Erorr is "TypeError: Cannot read property 'Value' of undefined"

handlers.AddPlayerToAff = function(args, context)

{

var result = server.GetTitleData({ "Key" : ["remid"] });

if( '1F28EC2E87FCA0B7' == result.Data[0].Value ){

return "find";

}else{

var otvet ="no"+result.Data[0].Value; return otvet; }

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
steelfox001 avatar image
steelfox001 answered

I find!!!!!

return result.Data["remid"];

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.