Jump to content
  • 0

Intrare cu numele


eXtreMe96

Question

7 answers to this question

Recommended Posts

Problema ca eu am incercat asa nu mere da multe errori si warnuri Nu degeaba team intrebat credeam ca poate eu ceava am gresit dar fix asa faceam

D:\Ãîâàÿ ïàïêà (3)\filterscripts\Radmin.pwn(5817) : error 017: undefined symbol "cmd"
D:\Ãîâàÿ ïàïêà (3)\filterscripts\Radmin.pwn(5820) : error 003: declaration of a local variable must appear in a compound block
D:\Ãîâàÿ ïàïêà (3)\filterscripts\Radmin.pwn(5820) : warning 217: loose indentation
D:\Ãîâàÿ ïàïêà (3)\filterscripts\Radmin.pwn(5820) : error 017: undefined symbol "message"
D:\Ãîâàÿ ïàïêà (3)\filterscripts\Radmin.pwn(5820) : warning 215: expression has no effect
D:\Ãîâàÿ ïàïêà (3)\filterscripts\Radmin.pwn(5820) : error 001: expected token: ";", but found "]"
D:\Ãîâàÿ ïàïêà (3)\filterscripts\Radmin.pwn(5820) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.
Commanda
if(strcmp(cmd, "/ad", true) == 0)
   {
   if(PlayerInfo[playerid][Level] > 1)
      new message[66];
      new playername[MAX_PLAYER_NAME];
      strmid(message, cmdtext, 3, strlen(cmdtext));
      GetPlayerName(playerid, playername, sizeof(playername));
      if(!strlen(message))
      {
      SendClientMessage(playerid, 0xFF0606FF, "{FFFFFF}|| {B7FF00}Foloseste corect comanda {FFAF00}/ad text {FFFFFF}||");
      }
      else
      {

         format(string, sizeof(string), "{00C0FF}[Atentie!!]{FFFFFF}%s | {FFAF00}by %s",message, playername,string);
         printf(string);
         SendClientMessageToAll(0xFFFFFFFF, string);
         GivePlayerMoney(playerid,-500);
   }
	return SendClientMessage(playerid,lightblue,"Server:Yoi not are VIP");
	}

lol

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.