[Ayuda] Comando MP
#1

Hola Amigos Tengo Un Problema =S quiero implementar el comando /pm pero tengo el siguente error

este es mi comando :

PHP код:
if(strcmp(cmd"/pm"true) == || strcmp(cmd"/mp"true) == 0)
   {
       if(
IsPlayerConnected(playerid))
       {
           if(
gPlayerLogged[playerid] == 0) return Message(playeridCOLOR_RED"Logeate, porfavor!");
         
tmp strtok(cmdtextidx);
         if(!
strlen(tmp)) return Message(playeridCOLOR_RED"Utiliza: /PM [Player ID] [Texto]");
         
giveplayerid ReturnUser(tmp);
         if (
IsPlayerConnected(giveplayerid))
         {
             if(
giveplayerid != INVALID_PLAYER_ID)
             { 
y estos son los errores que me aparecen

Код:
C:\Users\RONALD\Desktop\RONALD\GM BY RONALD\gamemodes\lvdm.pwn(209) : warning 225: unreachable code
C:\Users\RONALD\Desktop\RONALD\GM BY RONALD\gamemodes\lvdm.pwn(235) : error 004: function "BorrarAuto" is not implemented
C:\Users\RONALD\Desktop\RONALD\GM BY RONALD\gamemodes\lvdm.pwn(239) : warning 225: unreachable code
C:\Users\RONALD\Desktop\RONALD\GM BY RONALD\gamemodes\lvdm.pwn(258) : error 017: undefined symbol "strtok"
C:\Users\RONALD\Desktop\RONALD\GM BY RONALD\gamemodes\lvdm.pwn(258) : error 033: array must be indexed (variable "cmd")
C:\Users\RONALD\Desktop\RONALD\GM BY RONALD\gamemodes\lvdm.pwn(263) : error 079: inconsistent return types (array & non-array)
C:\Users\RONALD\Desktop\RONALD\GM BY RONALD\gamemodes\lvdm.pwn(269) : error 079: inconsistent return types (array & non-array)
C:\Users\RONALD\Desktop\RONALD\GM BY RONALD\gamemodes\lvdm.pwn(282) : error 079: inconsistent return types (array & non-array)
C:\Users\RONALD\Desktop\RONALD\GM BY RONALD\gamemodes\lvdm.pwn(294) : error 079: inconsistent return types (array & non-array)
C:\Users\RONALD\Desktop\RONALD\GM BY RONALD\gamemodes\lvdm.pwn(308) : error 079: inconsistent return types (array & non-array)
C:\Users\RONALD\Desktop\RONALD\GM BY RONALD\gamemodes\lvdm.pwn(321) : error 079: inconsistent return types (array & non-array)
C:\Users\RONALD\Desktop\RONALD\GM BY RONALD\gamemodes\lvdm.pwn(331) : error 079: inconsistent return types (array & non-array)
C:\Users\RONALD\Desktop\RONALD\GM BY RONALD\gamemodes\lvdm.pwn(336) : error 079: inconsistent return types (array & non-array)
C:\Users\RONALD\Desktop\RONALD\GM BY RONALD\gamemodes\lvdm.pwn(366) : error 079: inconsistent return types (array & non-array)
C:\Users\RONALD\Desktop\RONALD\GM BY RONALD\gamemodes\lvdm.pwn(373) : error 079: inconsistent return types (array & non-array)
C:\Users\RONALD\Desktop\RONALD\GM BY RONALD\gamemodes\lvdm.pwn(377) : error 079: inconsistent return types (array & non-array)
C:\Users\RONALD\Desktop\RONALD\GM BY RONALD\gamemodes\lvdm.pwn(380) : error 004: function "SendPlayerFormattedText" is not implemented
C:\Users\RONALD\Desktop\RONALD\GM BY RONALD\gamemodes\lvdm.pwn(381) : error 004: function "SendPlayerFormattedText" is not implemented
C:\Users\RONALD\Desktop\RONALD\GM BY RONALD\gamemodes\lvdm.pwn(382) : error 004: function "SendPlayerFormattedText" is not implemented
C:\Users\RONALD\Desktop\RONALD\GM BY RONALD\gamemodes\lvdm.pwn(383) : error 004: function "SendPlayerFormattedText" is not implemented
C:\Users\RONALD\Desktop\RONALD\GM BY RONALD\gamemodes\lvdm.pwn(384) : error 079: inconsistent return types (array & non-array)
C:\Users\RONALD\Desktop\RONALD\GM BY RONALD\gamemodes\lvdm.pwn(387) : error 004: function "SendPlayerFormattedText" is not implemented
C:\Users\RONALD\Desktop\RONALD\GM BY RONALD\gamemodes\lvdm.pwn(388) : error 004: function "SendPlayerFormattedText" is not implemented
C:\Users\RONALD\Desktop\RONALD\GM BY RONALD\gamemodes\lvdm.pwn(389) : error 004: function "SendPlayerFormattedText" is not implemented
C:\Users\RONALD\Desktop\RONALD\GM BY RONALD\gamemodes\lvdm.pwn(390) : error 004: function "SendPlayerFormattedText" is not implemented
C:\Users\RONALD\Desktop\RONALD\GM BY RONALD\gamemodes\lvdm.pwn(391) : error 004: function "SendPlayerFormattedText" is not implemented
C:\Users\RONALD\Desktop\RONALD\GM BY RONALD\gamemodes\lvdm.pwn(392) : error 079: inconsistent return types (array & non-array)
C:\Users\RONALD\Desktop\RONALD\GM BY RONALD\gamemodes\lvdm.pwn(395) : error 004: function "SendPlayerFormattedText" is not implemented

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


26 Errors.
Reply


Messages In This Thread
[Ayuda] Comando MP - by ronaldfa - 30.01.2012, 04:28
Respuesta: [Ayuda] Comando MP - by TiNcH010 - 30.01.2012, 04:38
Respuesta: [Ayuda] Comando MP - by ronaldfa - 30.01.2012, 04:47
Respuesta: [Ayuda] Comando MP - by adrianxd - 30.01.2012, 04:50
Respuesta: [Ayuda] Comando MP - by ronaldfa - 30.01.2012, 04:53
Respuesta: [Ayuda] Comando MP - by [Nikk] - 30.01.2012, 04:53
Respuesta: [Ayuda] Comando MP - by adrianxd - 30.01.2012, 04:54
Respuesta: [Ayuda] Comando MP - by ronaldfa - 30.01.2012, 04:56
Respuesta: [Ayuda] Comando MP - by adrianxd - 30.01.2012, 04:59
Respuesta: [Ayuda] Comando MP - by ronaldfa - 30.01.2012, 05:01

Forum Jump:


Users browsing this thread: