Posts: 175
Threads: 50
Joined: Aug 2013
Eu ja tentei de tudo jeito que existe tudo jeito que eu tento da erro, nгo consigo fazer que o player ganhe arma na favela , eu queria que se entrasse na gang zone que tem na favela , os players receberem armas automatico , dai quando sairem da gang zone da favela perdesse , й tгo facil mas eu nao sei '-' se alguem puder me ajudar
Obrgado
Posts: 175
Threads: 50
Joined: Aug 2013
como concerto isso ?
Код:
C:\Documents and Settings\Administrador\Desktop\BWC\gamemodes\BWC.pwn(18188) : error 025: function heading differs from prototype
C:\Documents and Settings\Administrador\Desktop\BWC\gamemodes\BWC.pwn(18223) : error 030: compound statement not closed at the end of file (started at line 18213)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Posts: 175
Threads: 50
Joined: Aug 2013
Posts: 1,369
Threads: 26
Joined: Feb 2013
Reputation:
0
Qual й a linha, e para de double post. Na prуxima nem ajudo mais.
Posts: 175
Threads: 50
Joined: Aug 2013
public favelis(playerid)
{
for (new i=0;i<MAX_PLAYERS;i++)
{
if(IsPlayerConnected(i))
{
//======================= Favela ==========================
if(IsPlayerInPlace(i,2016.010986, -1161.922363, 2324.010986, -923.518310))
{
EntrouFavela[i] = 1;
if(EntrouFavela[1] == 1)
{
DMLiberado2[i] = 1;
GangZoneFlashForAll(favela,0xFFFFFFAA);
GameTextForPlayer(i,"DM Liberado",1000,1);
GivePlayerWeapon(i, 24, 999);
GivePlayerWeapon(i, 9, 1);
GivePlayerWeapon(i, 25, 999);
GivePlayerWeapon(i, 26, 999);
GivePlayerWeapon(i, 30, 999);
GivePlayerWeapon(i, 32, 999);
EntrouFavela[i] = 0;
}
else
{
if(DMLiberado2[i] == 1)
{
if(SaiuFavela[i] == 1)
{
DMLiberado2[i] = 0;
GangZoneStopFlashForAll(favela);
ResetPlayerWeapons(i);
SaiuFavela[i] = 0;
}
}
Posts: 175
Threads: 50
Joined: Aug 2013
Sт esse codigo ae que ta dando erro !