10.05.2013, 03:13
pessoal, estou criando uma org com nome de Aeronбutica, ela estб na metade, ainda falta acrescentar alguns comandos como /r, /d, /batercartao, tambйm falta criar os carros.
Eu jб criei a org, acrescentei em /orgs, criei os cargos, setei o local da HQ e a skin.
Porйm ao tentar botar os comandos /r e /d deram uns erros, aqui estб um exemplo do /r e /d da Polнcia Federal e da Aeronбutica.
/r:
Polнcia Federal:
Aeronбutica:
/d:
Polнcia Federal:
Aeronбutica:
Ai quando eu compilo da esses erros:
Alguйm pode me ajudar a explicar onde estгo os erros
Eu jб criei a org, acrescentei em /orgs, criei os cargos, setei o local da HQ e a skin.
Porйm ao tentar botar os comandos /r e /d deram uns erros, aqui estб um exemplo do /r e /d da Polнcia Federal e da Aeronбutica.
/r:
Polнcia Federal:
Код:
else if(PlayerInfo[playerid][pMembro]== 11 || PlayerInfo[playerid][pLider]== 11) { if(PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "** Lнder %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "** Sub-Lнder %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "** Capitгo %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "** Atirador %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "** Espiгo %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "** Agente %s: %s, cвmbio. **", sendername, result); } else { format(string, sizeof(string), "** Agente %s: %s, cвmbio. **", sendername, result); } SendFamilyMessage(11,COLOR_R,string); printf("%s", string); format(string, sizeof(string), "* %s falou algo no rбdio.", sendername); ProxDetector(20.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); return true; }
Код:
else if(PlayerInfo[playerid][pMembro]== 24 || PlayerInfo[playerid][pLider]== 24) { if(PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "** Tenente-Brigadeiro %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "** Brigadeiro %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "** Capitгo %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "** Tenente %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "** Sargento %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "** Soldado %s: %s, cвmbio. **", sendername, result); } else { format(string, sizeof(string), "** Soldado %s: %s, cвmbio. **", sendername, result); } SendFamilyMessage(11,COLOR_R,string); printf("%s", string); format(string, sizeof(string), "* %s falou algo no rбdio.", sendername); ProxDetector(20.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); return true; }
Polнcia Federal:
Код:
else if(PlayerInfo[playerid][pMembro] == 11 || PlayerInfo[playerid][pLider] == 11) { if(PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "** PF Lнder %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "** PF %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "** PF %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "** PF %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "** PF %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "** PF %s: %s, cвmbio. **", sendername, result); } else { format(string, sizeof(string), "** PF %s: %s, cвmbio. **", sendername, result); } SendFamilyMessage(2, COLOR_DEPTH, string); SendFamilyMessage(1, COLOR_DEPTH, string); SendFamilyMessage(3, COLOR_DEPTH, string); SendFamilyMessage(16, COLOR_DEPTH, string); SendFamilyMessage(7, COLOR_DEPTH, string); SendFamilyMessage(11, COLOR_DEPTH, string); SendFamilyMessage(4, COLOR_DEPTH, string); printf("%s", string); return true; }
Код:
else if(PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24) { if(PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "** Aeronautica Lнder %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "** Aeronautica %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "** Aeronautica %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "** Aeronautica %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "** Aeronautica %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "** Aeronautica %s: %s, cвmbio. **", sendername, result); } else { format(string, sizeof(string), "** Aeronautica %s: %s, cвmbio. **", sendername, result); } SendFamilyMessage(2, COLOR_DEPTH, string); SendFamilyMessage(1, COLOR_DEPTH, string); SendFamilyMessage(3, COLOR_DEPTH, string); SendFamilyMessage(16, COLOR_DEPTH, string); SendFamilyMessage(7, COLOR_DEPTH, string); SendFamilyMessage(11, COLOR_DEPTH, string); SendFamilyMessage(4, COLOR_DEPTH, string); printf("%s", string); return true; }
Код:
C:\Documents and Settings\Conta\Desktop\Natгo\pawno\include\seif_walk.inc(39) : error 004: function "Walk_OnPlayerKeyStateChange" is not implemented C:\Documents and Settings\Conta\Desktop\Natгo\pawno\include\servermoneyGM.inc(16) : error 004: function "GMExit" is not implemented C:\Documents and Settings\Conta\Desktop\Natгo\pawno\include\servermoneyGM.inc(47) : error 004: function "OnPlayerHaveExtraCash" is not implemented C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(916) : error 004: function "SaveCars" is not implemented C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(1869) : error 017: undefined symbol "GetPlayerOrg" C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(1876) : error 017: undefined symbol "GetPlayerOrg" C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(1916) : error 017: undefined symbol "GetName" C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(1917) : error 017: undefined symbol "GetName" C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(1918) : error 017: undefined symbol "GetName" C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(1968) : error 004: function "PlayerToPoint" is not implemented C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(1978) : error 004: function "OnPlayerText" is not implemented C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(1978) : error 004: function "OnPlayerText" is not implemented C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(3395) : error 004: function "ClearChatbox" is not implemented C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(3486) : error 004: function "ClearChatbox" is not implemented C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(3503) : error 004: function "ClearChatbox" is not implemented C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(4685) : warning 202: number of arguments does not match definition C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(4910) : error 017: undefined symbol "IsNumero" C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(4952) : error 017: undefined symbol "IsNumero" C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(4994) : error 017: undefined symbol "IsNumero" C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(5036) : error 017: undefined symbol "IsNumero" C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(5065) : error 017: undefined symbol "IsNumero" C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(5094) : error 017: undefined symbol "IsNumero" C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(5123) : error 017: undefined symbol "IsNumero" C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(5152) : error 017: undefined symbol "IsNumero" C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(5181) : error 017: undefined symbol "IsNumero" C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(5229) : error 017: undefined symbol "IsNumero" C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(5258) : error 017: undefined symbol "IsNumero" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.