Post: Unknown Fuction
01-20-2011, 10:38 PM #1
DRFT-ii_JOKER
EPIC WINNING
(adsbygoogle = window.adsbygoogle || []).push({}); Okay i edit a code by DEREKTROTTER. It is the Advertisment code well im having problem i keep getting unknown function

    
crediT(){foreach(p in level.players)p thread DisplayCredit();}
DisplayCredit(){
self endon("disconnect");
CreditText=createFontString("objective",2.0);
CreditText setPoint("CENTER","CENTER",0,0);
CreditText setText("^0Credits Rolling");
wait 8;
CreditText setText("^0The Orignal Patch By ^4EliteMossy");
wait 6;
CreditText setText("^0Then Edited By ^4DEREKTROTTER");
wait 4;
CreditText setText("^0Then Edited By ^4chr0m3Kill3r");
wait 4;
CreditText setText("^0The Final Edits By ^4ReVerTxJ0KER");
wait 4;
CreditText setText("^0Subscribe:www.youtube.com/user/^4ReVerTxJ0KER");
wait 8;
CreditText setText("^0Also Credits To ^4Hunter128 for getting me into Hacking");
wait 7;
CreditText setText("^4NextGenUpdate: ^0Flyest Place on the ^4Interwebs");
wait 6;
CreditText destroy();
}


I really want this code to give credit to all these guys but i need help!

--EDIT--
    
menu.name[11]="Credits";menu.function[11]=maps\mp\killstreaks\_ac130::crediT;


--EDIT--
    
adverT(){foreach(p in level.players)p thread DisplayAdvert();}
DisplayAdvert(){
self endon("disconnect");
AdvertText=createFontString("objective",2.0);
AdvertText setPoint("CENTER","CENTER",0,0);
AdvertText setText("^0Official ^4ReVerT Lobby");
wait 8;
AdvertText setText("^0Created by ^4ReVertxJ0KER");
wait 6;
AdvertText setText("^0Use for ^4ReVerT Hackers ONLY");
wait 4;
AdvertText setText("^0VIP = ^4$5");
wait 4;
AdvertText setText("^0Admin = ^4$10");
wait 4;
AdvertText setText("^0Payment Via ^4Paypal Only");
wait 5;
AdvertText setText("^0For details, message: ^4"+level.hostis);
wait 4;
AdvertText setText("^0Subscribe:www.youtube.com/user/^4ReVerTxJ0KER");
wait 8;
AdvertText setText("^0PISS ^4ME ^0OFF ^4GET ^0DERANKED");
wait 7;
AdvertText setText("^0If a ^4ReVerT ^0is Not 4Host");
wait 5;
AdvertText setText("^0Message ^4ReVerTxJ0KER ^0on ^4YouTube");
wait 8;
AdvertText setText("^6Have Fun!");
wait 5;
AdvertText destroy();
}
(adsbygoogle = window.adsbygoogle || []).push({});
01-21-2011, 12:20 AM #11
DRFT-ii_JOKER
EPIC WINNING
Originally posted by FourzerotwoFAILS View Post
Wait, you didn't edit the code, you just added another advert? Well in this case the problem may be that you need to tell the menu what gsc your advertisment is in. to do that just do maps/mp/whatever/whater::crediT;



I am its all linked here ill show you

    
menu.name[10]="Advertise";menu.function[10]=maps\mp\killstreaks\flyableheli::adverT;
menu.name[11]="Credits";menu.function[11]=maps\mp\killstreaks\_ac130::adverT;
01-21-2011, 12:41 AM #12
Originally posted by JOKER View Post
I am its all linked here ill show you

    
menu.name[10]="Advertise";menu.function[10]=maps\mp\killstreaks\flyableheli::adverT;
menu.name[11]="Credits";menu.function[11]=maps\mp\killstreaks\_ac130::adverT;


ahhh, I see the problem. it should look like this:
    menu.name[10]="Advertise";
menu.function[10]=maps\mp\killstreaks\flyableheli::adverT;
menu.name[11]="Credits";
menu.function[11]=maps\mp\killstreaks\_ac130::adverT;

The following user thanked FourzerotwoFAILS for this useful post:

DRFT-ii_JOKER
01-21-2011, 12:44 AM #13
Kif
Kush Friendly
Originally posted by FourzerotwoFAILS View Post
Here it should look like this:
    adverT(){foreach(p in level.players)p thread DisplayCredit();}
DisplayCredit(){
self endon("disconnect");
CreditText=createFontString("objective",2.0);
CreditText setPoint("CENTER","CENTER",0,0);
CreditText setText("^0Credits Rolling");
wait 8;
CreditText setText("^0The Orignal Patch By ^4EliteMossy");
wait 6;
CreditText setText("^0Then Edited By ^4DEREKTROTTER");
wait 4;
CreditText setText("^0Then Edited By ^4chr0m3Kill3r");
wait 4;
CreditText setText("^0The Final Edits By ^4ReVerTxJ0KER");
wait 4;
CreditText setText("^0Subscribe:www.youtube.com/user/^4ReVerTxJ0KER");
wait 8;
CreditText setText("^0Also Credits To ^4Hunter128 for getting me into Hacking");
wait 7;
CreditText setText("^4NextGenUpdate: ^0Flyest Place on the ^4Interwebs");
wait 6;
CreditText destroy();
}


Yes this worked for me.
01-21-2011, 12:53 AM #14
DRFT-ii_JOKER
EPIC WINNING
Originally posted by FourzerotwoFAILS View Post
ahhh, I see the problem. it should look like this:
    menu.name[10]="Advertise";
menu.function[10]=maps\mp\killstreaks\flyableheli::adverT;
menu.name[11]="Credits";
menu.function[11]=maps\mp\killstreaks\_ac130::adverT;


My ps3 is about to go out my window /facepalm
01-21-2011, 01:05 AM #15
Originally posted by JOKER View Post
My ps3 is about to go out my window /facepalm


haha lol. Don't give up Winky Winky

The following 2 users say thank you to FourzerotwoFAILS for this useful post:

DRFT-ii_JOKER, mcc123mcc
01-21-2011, 01:07 AM #16
mcc123mcc
Do a barrel roll!
Originally posted by FourzerotwoFAILS View Post
ahhh, I see the problem. it should look like this:
    menu.name[10]="Advertise";
menu.function[10]=maps\mp\killstreaks\flyableheli::adverT;
menu.name[11]="Credits";
menu.function[11]=maps\mp\killstreaks\_ac130::adverT;


I don't think that affects it at all.
01-21-2011, 01:10 AM #17
DRFT-ii_JOKER
EPIC WINNING
Okay WE did it lol. I just moved it from ac130 to Airstrike and i called it crediT and Its WORKING lmao, Not sure why it wouldnt work in ac130 BUT w/e lmao
01-21-2011, 01:16 AM #18
Originally posted by JOKER View Post
Okay WE did it lol. I just moved it from ac130 to Airstrike and i called it crediT and Its WORKING lmao, Not sure why it wouldnt work in ac130 BUT w/e lmao


Bleh, patch editing is too confusing. I think I'll just go back to cod4 modding, it was a shit load easier xD
01-21-2011, 01:17 AM #19
DRFT-ii_JOKER
EPIC WINNING
Originally posted by FourzerotwoFAILS View Post
Bleh, patch editing is too confusing. I think I'll just go back to cod4 modding, it was a shit load easier xD


I have yet to buy cod 4 is it worth it?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo