19.03.2016, 19:49
ola pessoal tava transferindo um sistema para meu amigo meu que eu tenho na minha gm e funciona perfeitamente q eu mesmo fiz...
sу que da esses erros na GM vou passar todo sistema aq e os erros.
sу que da esses erros na GM vou passar todo sistema aq e os erros.
PHP код:
C:\Users\Gustavo\Desktop\sua mamae\PlayRealistiC v0.2 - Tigz\gamemodes\bpr.pwn(48722) : warning 217: loose indentation
C:\Users\Gustavo\Desktop\sua mamae\PlayRealistiC v0.2 - Tigz\gamemodes\bpr.pwn(48727) : warning 217: loose indentation
C:\Users\Gustavo\Desktop\sua mamae\PlayRealistiC v0.2 - Tigz\gamemodes\bpr.pwn(48753) : warning 217: loose indentation
C:\Users\Gustavo\Desktop\sua mamae\PlayRealistiC v0.2 - Tigz\gamemodes\bpr.pwn(48758) : warning 217: loose indentation
C:\Users\Gustavo\Desktop\sua mamae\PlayRealistiC v0.2 - Tigz\gamemodes\bpr.pwn(48782) : warning 202: number of arguments does not match definition
C:\Users\Gustavo\Desktop\sua mamae\PlayRealistiC v0.2 - Tigz\gamemodes\bpr.pwn(48795) : warning 217: loose indentation
C:\Users\Gustavo\Desktop\sua mamae\PlayRealistiC v0.2 - Tigz\gamemodes\bpr.pwn(48799) : warning 217: loose indentation
C:\Users\Gustavo\Desktop\sua mamae\PlayRealistiC v0.2 - Tigz\gamemodes\bpr.pwn(48812) : warning 217: loose indentation
C:\Users\Gustavo\Desktop\sua mamae\PlayRealistiC v0.2 - Tigz\gamemodes\bpr.pwn(48816) : warning 217: loose indentation
C:\Users\Gustavo\Desktop\sua mamae\PlayRealistiC v0.2 - Tigz\gamemodes\bpr.pwn(48828) : warning 217: loose indentation
C:\Users\Gustavo\Desktop\sua mamae\PlayRealistiC v0.2 - Tigz\gamemodes\bpr.pwn(48832) : warning 217: loose indentation
C:\Users\Gustavo\Desktop\sua mamae\PlayRealistiC v0.2 - Tigz\gamemodes\bpr.pwn(48844) : warning 217: loose indentation
C:\Users\Gustavo\Desktop\sua mamae\PlayRealistiC v0.2 - Tigz\gamemodes\bpr.pwn(48848) : warning 217: loose indentation
C:\Users\Gustavo\Desktop\sua mamae\PlayRealistiC v0.2 - Tigz\gamemodes\bpr.pwn(48860) : warning 217: loose indentation
C:\Users\Gustavo\Desktop\sua mamae\PlayRealistiC v0.2 - Tigz\gamemodes\bpr.pwn(48864) : warning 217: loose indentation
C:\Users\Gustavo\Desktop\sua mamae\PlayRealistiC v0.2 - Tigz\gamemodes\bpr.pwn(48876) : warning 217: loose indentation
C:\Users\Gustavo\Desktop\sua mamae\PlayRealistiC v0.2 - Tigz\gamemodes\bpr.pwn(48880) : warning 217: loose indentation
C:\Users\Gustavo\Desktop\sua mamae\PlayRealistiC v0.2 - Tigz\gamemodes\bpr.pwn(48886) : warning 217: loose indentation
C:\Users\Gustavo\Desktop\sua mamae\PlayRealistiC v0.2 - Tigz\gamemodes\bpr.pwn(48911) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Header size: 13368 bytes
Code size: 3400196 bytes
Data size: 21259624 bytes
Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements:24689572 bytes
19 Warnings.
pawn Код:
if(!strcmp(cmdtext, "/comprarbomba", true))
{
if(GetPlayerMoneyEx(playerid) < 5000)
{
SendClientMessage(playerid, COLOR_GREY, "Vocк nгo tem R$5.000!");
return 1;
}
if(bomb1[playerid] != 0)
{
SendClientMessage(playerid, COLOR_GREY, "Vocк ja tem uma bomba!");
return 1;
}
new payout = 5000;
format(string, sizeof(string), "~r~-R$%d", payout);
GameTextForPlayer(playerid, string, 5000, 1);
//GranaRockstar(playerid,- payout); GivePlayerMoneyEx(playerid, 25000000);
GivePlayerMoneyEx(playerid,- payout);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Vocк comprou uma bomba e te custou R$5K.");
bomb1[playerid] = 1;
return 1;
}
if(!strcmp(cmdtext, "/plantarb", true))
{
if(bomb1[playerid] != 1)
{
SendClientMessage(playerid, COLOR_GREY, "Vocк nгo tem Bomba!");
return 1;
}
if(Bombp != 0)
{
SendClientMessage(playerid, COLOR_GREY, "Alguem ja plantou uma bomba aqui.");
return 1;
}
if(!PlayerToPoint(2.0 ,playerid,1928.771484,-1785.187012,13.139766))
{
SendClientMessage(playerid, COLOR_GREY, "Vocк Nгo esta no caixa eletronico.");
return 1;
}
if(Explodido != 0)
{
SendClientMessage(playerid, COLOR_GREY, "o caixa elкtronico foi explodido, espere quando ele estiver pronto!.");
return 1;
}
pdinhe1 = 0;
pdinhe2 = 0;
pdinhe3 = 0;
pdinhe4 = 0;
pdinhe5 = 0;
pdinhe6 = 0;
pdinhe7 = 0;
Bombp = 1;
bomb1[playerid] = 0;
bombe[playerid] = 1;
SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Vocк plantou uma Bomba no caixa Digite /explodirb.");
GameTextForPlayer(playerid,"~r~Bomba plantada",5000, 5);
return 1;
}
if(!strcmp(cmdtext, "/pdinhe1", true))
{
if(!PlayerToPoint(1.0 ,playerid, 1932.0181,-1783.9647,13.3828))
{
return 1;
}
if(pdinhe1 != 0)
{
return 1;
}
GetPlayerMoneyEx(playerid, 50000);
//GranaRockstar(playerid, 50000);
DestroyObject(dinhe1);
pdinhe1 = 1;
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Pegou dinheiro no chгo.");
return 1;
}
if(!strcmp(cmdtext, "/pdinhe2", true))
{
if(!PlayerToPoint(1.0 ,playerid, 1930.1362,-1780.6622,13.5469))
{
return 1;
}
if(pdinhe2 != 0)
{
return 1;
}
pdinhe2 = 1;
GivePlayerMoneyEx(playerid, 50000);
//GranaRockstar(playerid, 50000);
DestroyObject(dinhe2);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Pegou dinheiro no chгo.");
return 1;
}
if(!strcmp(cmdtext, "/pdinhe3", true))
{
if(!PlayerToPoint(1.0 ,playerid, 1931.5500,-1790.0219,13.3828))
{
return 1;
}
if(pdinhe3 != 0)
{
return 1;
}
pdinhe3 = 1;
GivePlayerMoneyEx(playerid, 50000);
DestroyObject(dinhe3);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Pegou dinheiro no chгo.");
return 1;
}
if(!strcmp(cmdtext, "/pdinhe4", true))
{
if(!PlayerToPoint(1.0 ,playerid, 1927.4613,-1789.8104,13.3828))
{
return 1;
}
if(pdinhe4 != 0)
{
return 1;
}
pdinhe4 = 1;
GivePlayerMoneyEx(playerid, 50000);
DestroyObject(dinhe4);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Pegou dinheiro no chгo.");
return 1;
}
if(!strcmp(cmdtext, "/pdinhe5", true))
{
if(!PlayerToPoint(1.0 ,playerid, 1938.7821,-1782.1622,13.3906))
{
return 1;
}
if(pdinhe5 != 0)
{
return 1;
}
pdinhe5 = 1;
GivePlayerMoneyEx(playerid, 50000);
DestroyObject(dinhe5);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Pegou dinheiro no chгo.");
return 1;
}
if(!strcmp(cmdtext, "/pdinhe6", true))
{
if(!PlayerToPoint(1.0 ,playerid, 1947.4633,-1780.0640,13.3906))
{
return 1;
}
if(pdinhe6 != 0)
{
return 1;
}
pdinhe6 = 1;
GivePlayerMoneyEx(playerid, 50000);
DestroyObject(dinhe6);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Pegou dinheiro no chгo.");
return 1;
}
if(!strcmp(cmdtext, "/pdinhe7",true))
{
if(!PlayerToPoint(1.0 ,playerid, 1934.7902,-1772.0161,13.3828))
{
return 1;
}
if(pdinhe7 != 0)
{
return 1;
}
pdinhe7 = 1;
GivePlayerMoneyEx(playerid, 50000);
DestroyObject(dinhe7);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Pegou dinheiro no chгo.");
return 1;
}
if(!strcmp(cmdtext,"/explodirb",true))
{
if(bombe[playerid] != 1)
{
SendClientMessage(playerid, COLOR_GREY, "Vocк nгo plantou uma bomba!");
return 1;
}
if(!PlayerToPoint(60.0 ,playerid, 1928.771484,-1785.187012,13.139766))
{
SendClientMessage(playerid, COLOR_GREY, "Vocк Nгo esta no caixa eletronico.");
return 1;
}
GameTextForPlayer(playerid,"~r~Bomba explodida",5000, 5);
Bombp = 0;
DestroyObject(caixa1);
bombe[playerid] = 0;
Iniciarbomba();
concertar2();
SendClientMessageToAll(-1, "[Camera de seguranзa]um Caixa eletronico foi explodido em LS.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Vocк Explodiu um caixa eletronico,pegue o dinheiro do chгo apertando enter!.");
SetTimer("concertar", 300000, false);
SetPlayerCriminal(playerid,255, "Roubo");
return 1;
}
pawn Код:
public Iniciarbomba()
{
CreateExplosion(1928.771484, -1785.187012, 13.139766, 12, 10.0);
caixaele = CreateObject(2943, 1928.771484, -1785.187012, 13.139766, 0.0000, 0.0000, 90.0000); //explodido
dinhe1 = CreateObject(1212, 1932.0181,-1783.9647,13.3828, 0.0000, 0.0000, 0.0000); //dinheiros
dinhe2 = CreateObject(1212, 1930.1362,-1780.6622,13.5469, 0.0000, 0.0000, 0.0000); //dinheiros
dinhe3 = CreateObject(1212, 1931.5500,-1790.0219,13.3828, 0.0000, 0.0000, 0.0000);//dinheiros
dinhe4 = CreateObject(1212, 1927.4613,-1789.8104,13.3828, 0.0000, 0.0000, 0.0000); //dinheiros
dinhe5 = CreateObject(1212, 1938.7821,-1782.1622,13.3906, 0.0000, 0.0000, 0.0000); //dinheiros
dinhe6 = CreateObject(1212, 1947.4633,-1780.0640,13.3906, 0.0000, 0.0000, 0.0000); //dinheiros
dinhe7 = CreateObject(1212, 1934.7902,-1772.0161,13.3828, 0.0000, 0.0000, 0.0000); //dinheiros
return 1;
}
public concertar()
{
Explodido = 0;
DestroyObject(caixaele);
SendClientMessageToAll(0xFFFFFFAA,"{FF0000}[AVISO]Caixa elкtronico voltou a funcionar!.");
return 1;
}
public concertar2()
{
Explodido = 1;
return 1;
}