[DUV] Escudo
#1

pawn Код:
if(strcmp("/escudo",cmdtext,true,7)==0)
    {
    if(gTeam[playerid] == 2 || IsACop(playerid))
    {
        if(SetPVarInt(playerid, "Escudo") == 10)
        {
            RemovePlayerAttachedObject(playerid,1);
            RemovePlayerAttachedObject(playerid,2);
            RemovePlayerAttachedObject(playerid,3);
            RemovePlayerAttachedObject(playerid,4);
            SendClientMessage(playerid,0xFFFFFFAA,"[Server Info] Desescudado !");
            SetPVarInt(playerid, "Escudo", 0);
        }
        else if(GetPVarInt(playerid, "Escudo") != 10)
        {
            SetPlayerAttachedObject(playerid,1,19142,1,0.1,0.05,0.0,0.0,0.0,0.0);
            SetPlayerAttachedObject(playerid,2,19141,2,0.11,0.0,0.0,0.0,0.0,0.0);
            SetPlayerAttachedObject(playerid,3,18637,13,0.35,0.0,0.0,0.0,0.0,180.0);
            SetPlayerAttachedObject(playerid,4,18642,7,0.1,0.0,-0.11,0.0,-90.0,90.0);
            SendClientMessage(playerid,0xFFFFFFAA,"[Server Info] Escudado !");
            SetPVarInt(playerid, "Escudo", 10);
        }
        return 1;
    }
q q ta errado q da erro de ProxDetector?
Erros:
Код:
C:\Documents and Settings\Administrador\Desktop\BNW\pawno\include\streamer.inc(449) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrador\Desktop\BNW\gamemodes\BNW.pwn(3091) : error 004: function "FixHour" is not implemented
C:\Documents and Settings\Administrador\Desktop\BNW\gamemodes\BNW.pwn(4569) : error 004: function "FixHour" is not implemented
C:\Documents and Settings\Administrador\Desktop\BNW\gamemodes\BNW.pwn(5172) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Documents and Settings\Administrador\Desktop\BNW\gamemodes\BNW.pwn(5173) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Documents and Settings\Administrador\Desktop\BNW\gamemodes\BNW.pwn(5174) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Documents and Settings\Administrador\Desktop\BNW\gamemodes\BNW.pwn(5190) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Documents and Settings\Administrador\Desktop\BNW\gamemodes\BNW.pwn(5191) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Documents and Settings\Administrador\Desktop\BNW\gamemodes\BNW.pwn(5192) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Documents and Settings\Administrador\Desktop\BNW\gamemodes\BNW.pwn(5208) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Documents and Settings\Administrador\Desktop\BNW\gamemodes\BNW.pwn(5209) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Documents and Settings\Administrador\Desktop\BNW\gamemodes\BNW.pwn(5210) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Documents and Settings\Administrador\Desktop\BNW\gamemodes\BNW.pwn(5238) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrador\Desktop\BNW\gamemodes\BNW.pwn(5250) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrador\Desktop\BNW\gamemodes\BNW.pwn(5265) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrador\Desktop\BNW\gamemodes\BNW.pwn(5277) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrador\Desktop\BNW\gamemodes\BNW.pwn(5921) : error 017: undefined symbol "GetName"
C:\Documents and Settings\Administrador\Desktop\BNW\gamemodes\BNW.pwn(5925) : error 017: undefined symbol "GetName"
C:\Documents and Settings\Administrador\Desktop\BNW\gamemodes\BNW.pwn(5929) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\Administrador\Desktop\BNW\gamemodes\BNW.pwn(5941) : error 017: undefined symbol "GetName"
C:\Documents and Settings\Administrador\Desktop\BNW\gamemodes\BNW.pwn(5945) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\Administrador\Desktop\BNW\gamemodes\BNW.pwn(5965) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\Administrador\Desktop\BNW\gamemodes\BNW.pwn(5981) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\Administrador\Desktop\BNW\gamemodes\BNW.pwn(6001) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\Administrador\Desktop\BNW\gamemodes\BNW.pwn(6017) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\Administrador\Desktop\BNW\gamemodes\BNW.pwn(6038) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\Administrador\Desktop\BNW\gamemodes\BNW.pwn(6054) : error 004: function "ProxDetector" is not implemented

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


26 Errors.
OBS: ERRO ACONTECEM DPS Q EU COLOCO ESSE CODE AI *-*
Reply


Messages In This Thread
[DUV] Escudo - by [FeK]Netizen - 04.03.2011, 22:21
Re: [DUV] Escudo - by LuxurioN™ - 04.03.2011, 22:30
Re: [DUV] Escudo - by Ricop522 - 04.03.2011, 22:31
Re: [DUV] Escudo - by [FeK]Netizen - 04.03.2011, 23:11
Re: [DUV] Escudo - by TheGarfield - 04.03.2011, 23:14
Re: [DUV] Escudo - by [FeK]Netizen - 05.03.2011, 00:11
Re: [DUV] Escudo - by Kruger - 05.03.2011, 00:13
Re: [DUV] Escudo - by LuxurioN™ - 05.03.2011, 00:25
Re: [DUV] Escudo - by Josma_cmd - 05.03.2011, 00:27

Forum Jump:


Users browsing this thread: 1 Guest(s)