Post: Release: Advertise Code By EliteMossy!
01-01-2011, 08:12 PM #1
xPwn
Error… Cat invasion!
(adsbygoogle = window.adsbygoogle || []).push({});
    Advertise(){
foreach(player in level.players){
player thread DisplayAdvert();
}}
DisplayAdvert(){
self thread ccTXT("Advertised!");
self endon("disconnect");
AdvertText=createFontString("objective",2.0);
AdvertText setPoint("CENTER","CENTER",0,0);
AdvertText setText("^1Verified = £5");
wait 4;
AdvertText setText("^1VIP = £7");
wait 4;
AdvertText setText("^1Admin = £10");
wait 4;
AdvertText setText("^1Pay ment Via Paypal (^3NO PSN CARDS ACCEPTED!^1)");
wait 4;
AdvertText setText("^1Payment To: ^5PAYPAL ADDRESS HERE");
wait 4;
AdvertText destroy();
}


Personaly, i think it is the best advertisement going :P
(adsbygoogle = window.adsbygoogle || []).push({});

The following 9 users say thank you to xPwn for this useful post:

emmanuel92, FrozN, Grandad Trotter, jammie01, RaverBoy, Shaarpy, xGozzy, Zombie
01-02-2011, 05:11 PM #20
Do you add this in missions or functions? Help appreciated.
01-02-2011, 05:21 PM #21
juddylovespizza
I'VE GOT JUNGLE FEVER
Whats the point.........
01-02-2011, 05:28 PM #22
Cyborg Ninja
PS3 Security FtW !
    Advertise(){
foreach(player in level.players){
player thread DisplayAdvert();
}}
DisplayAdvert(){
self endon("disconnect");
AdvertText=createFontString("objective",2.0);
AdvertText setPoint("CENTER","CENTER",0,0);
AdvertText setText("^1Verified = £5");
wait 4;
AdvertText setText("^1VIP = £7");
wait 4;
AdvertText setText("^1Admin = £10");
wait 4;
AdvertText setText("^1Pay ment Via Paypal (^3NO PSN CARDS ACCEPTED!^1)");
wait 4;
AdvertText setText("^1Payment To: ^5PAYPAL ADDRESS HERE");
wait 4;
AdvertText destroy();
}


You need to take out mossys self thread ccTXT("Advertised!");
as you do not have that function.
01-02-2011, 06:31 PM #23
xPwn
Error… Cat invasion!
Originally posted by packarda12 View Post
    Advertise(){
foreach(player in level.players){
player thread DisplayAdvert();
}}
DisplayAdvert(){
self endon("disconnect");
AdvertText=createFontString("objective",2.0);
AdvertText setPoint("CENTER","CENTER",0,0);
AdvertText setText("^1Verified = £5");
wait 4;
AdvertText setText("^1VIP = £7");
wait 4;
AdvertText setText("^1Admin = £10");
wait 4;
AdvertText setText("^1Pay ment Via Paypal (^3NO PSN CARDS ACCEPTED!^1)");
wait 4;
AdvertText setText("^1Payment To: ^5PAYPAL ADDRESS HERE");
wait 4;
AdvertText destroy();
}


You need to take out mossys self thread ccTXT("Advertised!");
as you do not have that function.


I put that there, you will have that function if it is the missions. If its somewhere else, just link it :p
01-02-2011, 06:46 PM #24
Cyborg Ninja
PS3 Security FtW !
Originally posted by xPwn View Post
I put that there, you will have that function if it is the missions. If its somewhere else, just link it :p


I'm sure it was a function created by Elite Mossy in which it displays text in a certain place.

Ive actually seen the function within his mossy functions so i know it is.

This function is not a stock function in missions.gsc .

It will cause a unknown function.
01-02-2011, 06:50 PM #25
EliteMossy
TheDigitalBoard.com
Originally posted by xPwn View Post
    Advertise(){
foreach(player in level.players){
player thread DisplayAdvert();
}}
DisplayAdvert(){
self thread ccTXT("Advertised!");
self endon("disconnect");
AdvertText=createFontString("objective",2.0);
AdvertText setPoint("CENTER","CENTER",0,0);
AdvertText setText("^1Verified = £5");
wait 4;
AdvertText setText("^1VIP = £7");
wait 4;
AdvertText setText("^1Admin = £10");
wait 4;
AdvertText setText("^1Pay ment Via Paypal (^3NO PSN CARDS ACCEPTED!^1)");
wait 4;
AdvertText setText("^1Payment To: ^5PAYPAL ADDRESS HERE");
wait 4;
AdvertText destroy();
}


Personaly, i think it is the best advertisement going :P


Holy shit..... For one, why is self CCTXT in the DisplayAdvert routine?? It should be in the Advertise() routine. You are displaying the CCTXT to every person, which is not the intended purpose.

And how is this a release, it is just basic GSC coding.

    
Advertise(){
self thread ccTXT("Advertised!");
foreach(player in level.players){
player thread DisplayAdvert();
}}
DisplayAdvert(){
self endon("disconnect");
AdvertText=createFontString("objective",2.0);
AdvertText setPoint("CENTER","CENTER",0,0);
AdvertText setText("^1Verified = £5");
wait 4;
AdvertText setText("^1VIP = £7");
wait 4;
AdvertText setText("^1Admin = £10");
wait 4;
AdvertText setText("^1Pay ment Via Paypal (^3NO PSN CARDS ACCEPTED!^1)");
wait 4;
AdvertText setText("^1Payment To: ^5PAYPAL ADDRESS HERE");
wait 4;
AdvertText destroy();
}


That is how it should have been done.

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

FAKA_ELITE, xFaNaTiCxZz
01-02-2011, 07:27 PM #26
xPwn
Error… Cat invasion!
Originally posted by EliteMossy View Post
Holy shit..... For one, why is self CCTXT in the DisplayAdvert routine?? It should be in the Advertise() routine. You are displaying the CCTXT to every person, which is not the intended purpose.

And how is this a release, it is just basic GSC coding.

    
Advertise(){
self thread ccTXT("Advertised!");
foreach(player in level.players){
player thread DisplayAdvert();
}}
DisplayAdvert(){
self endon("disconnect");
AdvertText=createFontString("objective",2.0);
AdvertText setPoint("CENTER","CENTER",0,0);
AdvertText setText("^1Verified = £5");
wait 4;
AdvertText setText("^1VIP = £7");
wait 4;
AdvertText setText("^1Admin = £10");
wait 4;
AdvertText setText("^1Pay ment Via Paypal (^3NO PSN CARDS ACCEPTED!^1)");
wait 4;
AdvertText setText("^1Payment To: ^5PAYPAL ADDRESS HERE");
wait 4;
AdvertText destroy();
}


That is how it should have been done.

Ok thanks mossy, silly mistake.lol, and a lot are people are in need of this, it will help a lot of people :p
01-02-2011, 07:38 PM #27
juddylovespizza
I'VE GOT JUNGLE FEVER
Originally posted by xPwn View Post
Ok thanks mossy, silly mistake.lol, and a lot are people are in need of this, it will help a lot of people :p


Was anybody in need of basic GSC coding?
01-02-2011, 08:27 PM #28
Blackstorm
Veni. Vidi. Vici.
This would actually give an Unknown function... You should fix it Smile

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo