Pawno Eroors :
#4

But , i have zcmd And it is at #include
Here is the rest of the code :
Код:
	COMMAND:ad(playerid, params[])
   {
      new string[500];
      new adstring[124];
      new message[500];
      new playername[MAX_PLAYER_NAME];
      strmid(message, params,0,strlen(params));
      GetPlayerName(playerid, playername, sizeof(playername));
      if(sscanf(params,"u",params[ 0 ]))return SendClientMessage(playerid, COLOR_RED, ""G"||..:: Use "R"/ad "G"["R"text"G"] ::..||");
	  {
      if(antiadspam[playerid] == 0)
	  {
         format(string, sizeof(string), "{FFFF00}[Radio] {00FF19}%s{FFFF00} |..::Message sent by {4764EF} %s (playerid:%d) {FFFF00} pm me!::..|",message, playername, playerid);
         printf(string);
         SendClientMessageToAll(0xADFF2FAA, string);
         GivePlayerMoney(playerid,-2000);
         antiadspam[playerid] = 1;
         SetTimerEx("antispamtimer", ANTIADSPAM_TIME*1000, false, "d", playerid);
		 return 1;
      }
	  else
      {
         format(adstring,sizeof(adstring), ""G"Te rog asteapta "R"%d "G"secunde!", ANTIADSPAM_TIME);
  	     SendClientMessage(playerid, COLOR_RED, adstring );
         return 1;
       }
     }
   }
Reply


Messages In This Thread
Pawno Eroors : - by farCry.xD - 29.06.2012, 09:04
Re: Pawno Eroors : - by JaKe Elite - 29.06.2012, 09:07
Re: Pawno Eroors : - by Jarnu - 29.06.2012, 09:08
Re: Pawno Eroors : - by farCry.xD - 29.06.2012, 09:18
Re: Pawno Eroors : - by JaKe Elite - 29.06.2012, 09:25
Re: Pawno Eroors : - by Cxnnor - 29.06.2012, 09:29
Re: Pawno Eroors : - by newbienoob - 29.06.2012, 09:29
Re: Pawno Eroors : - by farCry.xD - 29.06.2012, 09:35
Re: Pawno Eroors : - by newbienoob - 29.06.2012, 09:36
Re: Pawno Eroors : - by DBan - 29.06.2012, 09:36

Forum Jump:


Users browsing this thread: 1 Guest(s)