12.03.2010, 21:59
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; } |
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
![Cool](images/smilies/cool.gif)
C:\Documents and Settings\Daniel\Desktop\GTA\Server\gamemodes\sftdm .pwn(56
![Cool](images/smilies/cool.gif)
C:\Documents and Settings\Daniel\Desktop\GTA\Server\gamemodes\sftdm .pwn(56
![Cool](images/smilies/cool.gif)
C:\Documents and Settings\Daniel\Desktop\GTA\Server\gamemodes\sftdm .pwn(56
![Cool](images/smilies/cool.gif)
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
8 Errors.