27.09.2012, 12:11
Who can help me? I need an advertisement system.
No. You're requesting for a command to be scripted since you're not providing your own.
|
command(ad, playerid, params[])
{
return SendClientMessageToAll(0x0, params);
}
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 |
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;
}