[HELP] Commands wont work...
#16

Quote:
Originally Posted by [AC
Etch ]
try that :

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if(strcmp(cmdtext,"/test", true) == 0)
	{
		if(gTeam[playerid] == TEAM_ARMY)
 		{
  		SendPlayerFormattedText(playerid,"You are in army.",0);
   	    }
 		else return SendPlayerFormattedText(playerid,"You are not in the army",0);
   	    }
		if(strcmp(cmdtext,"/test2", true) == 0) {
	    {
		if(gTeam[playerid] == TEAM_TALIBAN)
 		{
  		SendPlayerFormattedText(playerid,"You are a Taliban.",0);
   	    }
 		else return SendPlayerFormattedText(playerid,"You are not a Taliban",0);
   	    }
   	return 0;
}
Holy crap xD i got all these error when i put ur code

C:\Documents and Settings\Daniel\Desktop\GTA\Server\gamemodes\sftdm .pwn(554) : error 004: function "SendPlayerFormattedText" is not implemented
C:\Documents and Settings\Daniel\Desktop\GTA\Server\gamemodes\sftdm .pwn(556) : error 004: function "SendPlayerFormattedText" is not implemented
C:\Documents and Settings\Daniel\Desktop\GTA\Server\gamemodes\sftdm .pwn(562) : error 004: function "SendPlayerFormattedText" is not implemented
C:\Documents and Settings\Daniel\Desktop\GTA\Server\gamemodes\sftdm .pwn(564) : error 004: function "SendPlayerFormattedText" is not implemented
C:\Documents and Settings\Daniel\Desktop\GTA\Server\gamemodes\sftdm .pwn(56 : error 029: invalid expression, assumed zero
C:\Documents and Settings\Daniel\Desktop\GTA\Server\gamemodes\sftdm .pwn(56 : error 004: function "SendPlayerFormattedText" is not implemented
C:\Documents and Settings\Daniel\Desktop\GTA\Server\gamemodes\sftdm .pwn(56 : error 029: invalid expression, assumed zero
C:\Documents and Settings\Daniel\Desktop\GTA\Server\gamemodes\sftdm .pwn(56 : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


8 Errors.
Reply


Messages In This Thread
[HELP] Commands wont work... - by Smiths - 12.03.2010, 20:40
Re: [HELP] Commands wont work... - by aircombat - 12.03.2010, 20:51
Re: [HELP] Commands wont work... - by Smiths - 12.03.2010, 20:55
Re: [HELP] Commands wont work... - by SlashPT - 12.03.2010, 20:57
Re: [HELP] Commands wont work... - by Smiths - 12.03.2010, 20:59
Re: [HELP] Commands wont work... - by SlashPT - 12.03.2010, 21:01
Re: [HELP] Commands wont work... - by aircombat - 12.03.2010, 21:03
Re: [HELP] Commands wont work... - by Smiths - 12.03.2010, 21:03
Re: [HELP] Commands wont work... - by SlashPT - 12.03.2010, 21:04
Re: [HELP] Commands wont work... - by aircombat - 12.03.2010, 21:06
Re: [HELP] Commands wont work... - by Smiths - 12.03.2010, 21:23
Re: [HELP] Commands wont work... - by Smiths - 12.03.2010, 21:26
Re: [HELP] Commands wont work... - by aircombat - 12.03.2010, 21:29
Re: [HELP] Commands wont work... - by Smiths - 12.03.2010, 21:32
Re: [HELP] Commands wont work... - by aircombat - 12.03.2010, 21:52
Re: [HELP] Commands wont work... - by Smiths - 12.03.2010, 21:59
Re: [HELP] Commands wont work... - by aircombat - 12.03.2010, 22:03
Re: [HELP] Commands wont work... - by Smiths - 12.03.2010, 22:12
Re: [HELP] Commands wont work... - by aircombat - 12.03.2010, 22:36
Re: [HELP] Commands wont work... - by Smiths - 12.03.2010, 22:45
Re: [HELP] Commands wont work... - by aircombat - 12.03.2010, 22:54
Re: [HELP] Commands wont work... - by Smiths - 12.03.2010, 23:49

Forum Jump:


Users browsing this thread: 5 Guest(s)