31.01.2011, 15:45
pawn Code:
if(!strcmp(cmdtext, "/advertise", true, 10))
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, 362.5211,173.6900,1008.3828))
{
new string[248];
format(string, sizeof string, "*** Advertisement: %s ***", cmdtext[11]);
SendClientMessageToAll(0x008000FF, string);
GivePlayerMoney(playerid,-1000);
return 1;
}
*** Advertisement: Selling infernus for 50,000$. - Matej_ ***