C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1746) : error 010: invalid function or declaration C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1749) : error 021: symbol already defined: "strins" C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1757) : error 010: invalid function or declaration C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1760) : error 010: invalid function or declaration C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1762) : error 010: invalid function or declaration C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1766) : error 021: symbol already defined: "GetPlayerName" C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1776) : error 010: invalid function or declaration C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1780) : error 010: invalid function or declaration C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1783) : error 010: invalid function or declaration C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1785) : error 010: invalid function or declaration C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1787) : error 021: symbol already defined: "var0" C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1788) : error 021: symbol already defined: "var1" C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1800) : error 010: invalid function or declaration C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1804) : error 010: invalid function or declaration C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1807) : error 010: invalid function or declaration C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1809) : error 010: invalid function or declaration C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1811) : error 021: symbol already defined: "var0" C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1812) : error 021: symbol already defined: "var1" C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1823) : error 010: invalid function or declaration C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1827) : error 010: invalid function or declaration C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1830) : error 010: invalid function or declaration C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1832) : error 010: invalid function or declaration C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1834) : error 021: symbol already defined: "var0" C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1835) : error 021: symbol already defined: "var1" C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1847) : error 010: invalid function or declaration C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1851) : error 010: invalid function or declaration Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
//============ KITS DAS ARMAS =======================////
if(strcmp(cmdtext,"/kits",true)==0){
{
new kits[1000];
strins(kits,"{FF4500}/kit1 : {FFD700}Faca, 9mm, Escopeta, Mp5, Tec9.[Valor $1000]\n",strlen(kits));
strins(kits,"{FF4500}/kit2 : {FFD700}Bastao, 9mm+Silenciador , Sawnoff, McSMG, Granada.[Valor $2500]\n",strlen(kits));
strins(kits,"{FF4500}/kit3 : {FFD700}MotoSerra, Deagle, Sawnoff, MP5.[Valor $3000]\n",strlen(kits));
strins(kits,"{FF4500}/kit4 : {FFD700}Katana, Deagle, Escopeta de Combate, MP5, AK47.[Valor $5000]\n",strlen(kits));
strins(kits,"{FF4500}/kit5 : {FFD700}Sniper, Deagle, Escopeta de Combate, Tec9, M4, Granada.[Valor $8000]\n",strlen(kits));
strins(kits,"\n",strlen(kits));
strins(kits,"{DAA520}BOM JOGO!!\n",strlen(kits));
ShowPlayerDialog(playerid,8439, DIALOG_STYLE_MSGBOX, "{F60000}• KITS DE ARMAS DO SERVIDOR •",kits, "Fechar", "");
return 1;
}
if(strcmp(cmdtext,"/kit1",true)==0){
{
if(GetPlayerMoney(playerid) >= 1000) {
GivePlayerMoney(playerid, -1000);
new var0[265];
new var1[30];
GetPlayerName(playerid, var1, 30);
format(var0, 265, "%s Comprou Um Kit De Armas 1! Comando: {FFFF00}( /kit1 )", var1);
SendClientMessageToAll(Cinza_Escuro, var0);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 4, 1);
GivePlayerWeapon(playerid, 22, 45);
GivePlayerWeapon(playerid, 25, 30);
GivePlayerWeapon(playerid, 29, 100);
PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
}
else {
SendClientMessage(playerid, Verde_Floresta, "[INFO]: {FF0000}Vocк nгo tem dinheiro suficiente");
PlayerPlaySound(playerid, 1053, 0.0, 0.0, 0.0);
}
return 1;
}
if(strcmp(cmdtext,"/kit2",true)==0){
{
if(GetPlayerMoney(playerid) >= 2500) {
GivePlayerMoney(playerid, -2500);
new var0[265];
new var1[30];
GetPlayerName(playerid, var1, 30);
format(var0, 265, "%s Comprou Um Kit De Armas 2! Comando: {FFFF00}( /kit2 )", var1);
SendClientMessageToAll(Verde_Limгo, var0);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 5, 1);
GivePlayerWeapon(playerid, 23, 60);
GivePlayerWeapon(playerid, 26, 50);
GivePlayerWeapon(playerid, 28, 200);
GivePlayerWeapon(playerid, 16, 15);
PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
}
else {
SendClientMessage(playerid, Verde_Floresta, "[INFO]: {FF0000}Vocк nгo tem dinheiro suficiente");
PlayerPlaySound(playerid, 1053, 0.0, 0.0, 0.0);
}
return 1;
}
if(strcmp(cmdtext,"/kit3",true)==0){
{
if(GetPlayerMoney(playerid) >= 3500) {
GivePlayerMoney(playerid, -3500);
new var0[265];
new var1[30];
GetPlayerName(playerid, var1, 30);
format(var0, 265, "%s Comprou Um Kit De Armas 3! Comando: {FFFF00}( /kit3 )", var1);
SendClientMessageToAll(Rosa, var0);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 9, 99999);
GivePlayerWeapon(playerid, 24, 60);
GivePlayerWeapon(playerid, 26, 80);
GivePlayerWeapon(playerid, 32, 350);
PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
}
else {
SendClientMessage(playerid, Verde_Floresta, "[INFO]: {FF0000}Vocк nгo tem dinheiro suficiente");
PlayerPlaySound(playerid, 1053, 0.0, 0.0, 0.0);
}
return 1;
}
if(strcmp(cmdtext,"/kit4",true)==0){
{
if(GetPlayerMoney(playerid) >= 5000) {
GivePlayerMoney(playerid, -5000);
new var0[265];
new var1[30];
GetPlayerName(playerid, var1, 30);
format(var0, 265, "%s Comprou Um Kit De Armas 4! Comando: {FFFF00}( /kit4 )", var1);
SendClientMessageToAll(Azul_Claro, var0);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 8, 1);
GivePlayerWeapon(playerid, 24, 100);
GivePlayerWeapon(playerid, 27, 80);
GivePlayerWeapon(playerid, 29, 420);
GivePlayerWeapon(playerid, 30, 300);
PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
}
else {
SendClientMessage(playerid, Verde_Floresta, "[INFO]: {FF0000}Vocк nгo tem dinheiro suficiente");
PlayerPlaySound(playerid, 1053, 0.0, 0.0, 0.0);
}
return 1;
}
if(strcmp(cmdtext,"/kit5",true)==0){
{
if(GetPlayerMoney(playerid) >= 8000) {
GivePlayerMoney(playerid, -8000);
new var0[265];
new var1[30];
GetPlayerName(playerid, var1, 30);
format(var0, 265, "%s Comprou Um Kit De Armas 5! Comando: {FFFF00}( /kit5 )", var1);
SendClientMessageToAll(Roxo_Escuro, var0);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 34, 99999);
GivePlayerWeapon(playerid, 24, 99999);
GivePlayerWeapon(playerid, 27, 99999);
GivePlayerWeapon(playerid, 32, 99999);
GivePlayerWeapon(playerid, 31, 99999);
GivePlayerWeapon(playerid, 16, 99999);
PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
}
else {
SendClientMessage(playerid, Verde_Floresta, "[INFO]: {FF0000}Vocк nгo tem dinheiro suficiente");
PlayerPlaySound(playerid, 1053, 0.0, 0.0, 0.0);
}
return 1;
}
if(strcmp(cmdtext,"/kit5",true)==0){ { if(GetPlayerMoney(playerid) >= 8000) { GivePlayerMoney(playerid, -8000); new var0[265]; new var1[30]; GetPlayerName(playerid, var1, 30); format(var0, 265, "%s Comprou Um Kit De Armas 5! Comando: {FFFF00}( /kit5 )", var1); SendClientMessageToAll(Roxo_Escuro, var0); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid, 34, 99999); GivePlayerWeapon(playerid, 24, 99999); GivePlayerWeapon(playerid, 27, 99999); GivePlayerWeapon(playerid, 32, 99999); GivePlayerWeapon(playerid, 31, 99999); GivePlayerWeapon(playerid, 16, 99999); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); } else { SendClientMessage(playerid, Verde_Floresta, "[INFO]: {FF0000}Vocк nгo tem dinheiro suficiente"); PlayerPlaySound(playerid, 1053, 0.0, 0.0, 0.0); } return 1; }
if(strcmp(cmdtext,"/kit5",true)==0) { if(GetPlayerMoney(playerid) >= 8000) { GivePlayerMoney(playerid, -8000); new var0[265]; new var1[30]; GetPlayerName(playerid, var1, 30); format(var0, 265, "%s Comprou Um Kit De Armas 5! Comando: {FFFF00}( /kit5 )", var1); SendClientMessageToAll(Roxo_Escuro, var0); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid, 34, 99999); GivePlayerWeapon(playerid, 24, 99999); GivePlayerWeapon(playerid, 27, 99999); GivePlayerWeapon(playerid, 32, 99999); GivePlayerWeapon(playerid, 31, 99999); GivePlayerWeapon(playerid, 16, 99999); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); } else { SendClientMessage(playerid, Verde_Floresta, "[INFO]: {FF0000}Vocк nгo tem dinheiro suficiente"); PlayerPlaySound(playerid, 1053, 0.0, 0.0, 0.0); } return 1; }
Encontrei!
Код:
if(strcmp(cmdtext,"/kit5",true)==0){ { if(GetPlayerMoney(playerid) >= 8000) { GivePlayerMoney(playerid, -8000); new var0[265]; new var1[30]; GetPlayerName(playerid, var1, 30); format(var0, 265, "%s Comprou Um Kit De Armas 5! Comando: {FFFF00}( /kit5 )", var1); SendClientMessageToAll(Roxo_Escuro, var0); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid, 34, 99999); GivePlayerWeapon(playerid, 24, 99999); GivePlayerWeapon(playerid, 27, 99999); GivePlayerWeapon(playerid, 32, 99999); GivePlayerWeapon(playerid, 31, 99999); GivePlayerWeapon(playerid, 16, 99999); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); } else { SendClientMessage(playerid, Verde_Floresta, "[INFO]: {FF0000}Vocк nгo tem dinheiro suficiente"); PlayerPlaySound(playerid, 1053, 0.0, 0.0, 0.0); } return 1; } Код:
if(strcmp(cmdtext,"/kit5",true)==0) { if(GetPlayerMoney(playerid) >= 8000) { GivePlayerMoney(playerid, -8000); new var0[265]; new var1[30]; GetPlayerName(playerid, var1, 30); format(var0, 265, "%s Comprou Um Kit De Armas 5! Comando: {FFFF00}( /kit5 )", var1); SendClientMessageToAll(Roxo_Escuro, var0); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid, 34, 99999); GivePlayerWeapon(playerid, 24, 99999); GivePlayerWeapon(playerid, 27, 99999); GivePlayerWeapon(playerid, 32, 99999); GivePlayerWeapon(playerid, 31, 99999); GivePlayerWeapon(playerid, 16, 99999); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); } else { SendClientMessage(playerid, Verde_Floresta, "[INFO]: {FF0000}Vocк nгo tem dinheiro suficiente"); PlayerPlaySound(playerid, 1053, 0.0, 0.0, 0.0); } return 1; } |