SA-MP Forums Archive
I need an advertising system! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: I need an advertising system! (/showthread.php?tid=380877)



I need an advertising system! - edgargreat - 27.09.2012

Who can help me? I need an advertisement system.


Re: I need an advertising system! - `Aeci - 27.09.2012

You talking about a (/ad [Text]) and wrong area to ask.

Correct Section :Here


Re: I need an advertising system! - edgargreat - 27.09.2012

Yes.


Re: I need an advertising system! - edgargreat - 27.09.2012

Lol. This is correct O.o


Re: I need an advertising system! - `Aeci - 27.09.2012

No. You're requesting for a command to be scripted since you're not providing your own.


Re: I need an advertising system! - Cameltoe - 27.09.2012

Quote:
Originally Posted by `Aeci
Посмотреть сообщение
No. You're requesting for a command to be scripted since you're not providing your own.
He is right, this section is to discuss scripting.

pawn Код:
command(ad, playerid, params[])
{
     return SendClientMessageToAll(0x0, params);
}
There, now you have something to discuss.


Re: I need an advertising system! - daastle - 27.09.2012

Since he needs help , I think more than an advertising system he means a Random Message script, since everyone uses that for advertising.

Here is the tutorial:

https://sampforum.blast.hk/showthread.php?tid=324497


Re: I need an advertising system! - Cameltoe - 28.09.2012

Quote:
Originally Posted by daastle
Посмотреть сообщение
Since he needs help , I think more than an advertising system he means a Random Message script, since everyone uses that for advertising.

Here is the tutorial:

https://sampforum.blast.hk/showthread.php?tid=324497
IF you actually take your time to read through the thread you will see that he do not want Random messages but an /ad system

I Quote:

Quote:
Originally Posted by `Aeci
Посмотреть сообщение
You talking about a (/ad [Text]) and wrong area to ask.

Correct Section :Here
Quote:
Originally Posted by edgargreat
Посмотреть сообщение
Yes.



Re: I need an advertising system! - daastle - 01.10.2012

I dont know about you , but you can advertise through random messages


Re: I need an advertising system! - zT KiNgKoNg - 01.10.2012

There You Go
pawn Код:
CMD:ad(playerid,params[])//creating a checkweed cmd.
{
   new string[128];
   if(sscanf(params, "ud", params)) return SendClientMessage(playerid, -1, "[Usage]: /ad [advert] * Number Is Automatly Added * ");
   format(string,sizeof(string),"[Advertisment] %s: %s - Call Me On %d",GetName(playerid),params,PlayerInfo[playerid][PhoneNumber]);
   SendClientMessage(playerid,-1,string);
   return 1;
}