11.01.2012, 18:10
Quise hacer un simple comando para que la faccion 5 pueda comprar armas baratas por medio de un comando.El codigo era este:
Pero, al poner estoy, Pawno me da errores EN OTRAS LINEAS! Muy raro, pero cuando saco el codigo, los errores se van. Los errores son:
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2667) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2696) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2732) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2733) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2759) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2772) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2784) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2795) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(280 : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2820) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2840) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2855) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(286 : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2882) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2896) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2911) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2926) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2939) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2967) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2980) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(3009) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(3025) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(3042) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(305 : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(3072) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(308 : error 004: function "ClearChatbox" is not implemented
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
26 Errors.
Bueno, porfavor algun scripter que me ayude, gracias de antemano.
Код:
if(strcmp(cmd, "/armasget", true)==0) { if(PlayerInfo[playerid][pLeader] == 5 { if(PlayerToPoint(2.0, playerid, 1864.7258,-2003.8823,13.5469)) { ResetPlayerWeapon(playerid); GivePlayerWeapon(playerid, 24, 20); GivePlayerMoney(playerid, -1000); } GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* %s Abre el maletero y toma una deagle.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE); } else { SendClienMessage(playerid, 0xFF0000FF, "No podes usar ese comando!") } return 1;
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2667) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2696) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2732) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2733) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2759) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2772) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2784) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2795) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(280 : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2820) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2840) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2855) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(286 : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2882) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2896) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2911) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2926) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2939) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2967) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(2980) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(3009) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(3025) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(3042) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(305 : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(3072) : error 004: function "ClearChatbox" is not implemented
C:\Users\adrian\Desktop\World RP v 1.2\gamemodes\WorldRP.pwn(308 : error 004: function "ClearChatbox" is not implemented
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
26 Errors.
Bueno, porfavor algun scripter que me ayude, gracias de antemano.