04.03.2011, 22:21
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;
}
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.