[QUES] Changing GrPhone retire date

I know this is possible as @Darkly told me a while ago,but i don’t know where to put it. Could someone please help. Thanks

1 Like

??

var grphone = Platforms.allPlatforms.first(function§{return p.id == ‘grPhone’;});
if (grphone){
grphone.platformRetireDate = ‘1/1/1’;//set to custom date.
}

Adding this to the code.

2 Likes

i know that, but i can’t remember where to put the code. i remember @Darkly mentioning where to add it, but i can’t find that post

1 Like

An example would be cool, as it would stop me from making errors

1 Like

@KizzaGaming You need to put it in your init function, if you don’t have a init function, put the code in the source.js in the first function{} part

Example:

var CompetitorMod = {};
(function () {
 // PUT CODE HERE
3 Likes

Thanks @kristof1104. Also your new profile pic looks cool

1 Like

@kristof1104, the code completely broke the mod, it’s a good job i can go get it from GitHub xD

Thx :smiley:
You can always send your code to me and I’ll check it for you! :smiley:

2 Likes