13.09.2014, 16:01
Estou Com esses erros
Nesse FS alguem pode me ajudar ?
PHP код:
(187) : error 017: undefined symbol "fadeIn"
(217) : error 017: undefined symbol "fadeOut"
(229) : error 017: undefined symbol "fadeOut"
(438) : error 017: undefined symbol "FadeIn"
(475) : warning 203: symbol is never used: "Seifader_OnExit"
(475) : warning 203: symbol is never used: "Seifader_OnInit"
(475) : warning 203: symbol is never used: "Seifader_OnPlayerDisconnect"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
PHP код:
#include a_samp
#include progress
#include zcmd
#include fader
#include DOF2
#pragma tabsize 0
#define CARDAPIO 1978
#define HOTEL 1979
#define PASTA_CONTAS "/DiiMeNoR/%s.ini"
// Necessбrio criar a pasta 'DiiMeNoR' em suas scriptfiles ou o sistema nгo ira funcionar.
new Bar:barfome, Bar:barsede, Bar:barsono;
new Text:TextFome, Text:TextSede, Text:TextSono, Text:Box;
new ContagemSono[MAX_PLAYERS];
new CorrigirVar[MAX_PLAYERS];
new Cercas[12];
new entrada, saida, entradahotel, saidahotel;
new bool:lanchonete[MAX_PLAYERS];
new arquivo[30];
new bool:mFome[MAX_PLAYERS], bool:mSede[MAX_PLAYERS];
public OnFilterScriptInit()
{
barfome = CreateProgressBar(505.00, 123.00, 84.50, 3.20, 0xFF283DAA, 100.0);
barsede = CreateProgressBar(505.00, 143.00, 84.50, 3.20, 0x384BFFAA, 100.0);
barsono = CreateProgressBar(505.00, 164.00, 84.50, 3.20, 0xF3FF10AA, 100.0);
entrada = CreatePickup(1318, 23, 1352.1377,-1552.8381,13.5469, -1);
saida = CreatePickup(1318, 23, 363.2614, -74.8193, 1001.5078, -1);
entradahotel = CreatePickup(1318, 23, 328.5529,-1513.7094,36.0391, -1);
saidahotel = CreatePickup(1318, 23, 346.7430,309.8346,999.1557, -1);
SetProgressBarValue(barfome, 100);
SetProgressBarValue(barsede, 100);
SetProgressBarValue(barsono, 100);
TextFome = TextDrawCreate(500.000000, 109.000000, "FOME:");
TextSede = TextDrawCreate(500.000000, 129.000000, "SEDE:");
TextSono = TextDrawCreate(500.000000, 150.000000, "SONO:");
Box = TextDrawCreate(603.000000, 105.000000, "_");
TextDrawUseBox(Box, 1);
TextDrawTextSize(Box,493.000000, 1.000000);
TextDrawLetterSize(Box,0.500000, 8.099987);
TextDrawBoxColor(Box,0x00000066);
TextDrawSetShadow(TextFome,0);
TextDrawSetShadow(TextSede,0);
TextDrawSetShadow(TextSono,0);
Objetos();
DisableInteriorEnterExits();
for(new i = 0; i < 12; i++) SetObjectMaterial(Cercas[i], 0, 19341, "egg_texts", "easter_egg01", 0xFFFFFFFF);
return 1;
}
public OnPlayerSpawn(playerid)
{
SetTimerEx("Fome", 20000, true, "i", playerid);
SetTimerEx("Sede", 15000, true, "i", playerid);
ContagemSono[playerid] = SetTimerEx("Sono", 35000, true, "i", playerid);
return 1;
}
public OnFilterScriptExit()
{
DOF2_Exit();
return false;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == entrada)
{
SetPlayerInterior(playerid, 10);
SetPlayerPos(playerid, 369.1026,-72.1459,1001.5078);
SendClientMessage(playerid, -1,"|Lanchonete| Use /cardapio para ver a lista de comidas.");
lanchonete[playerid] = true;
CorrigirVar[playerid] = SetTimerEx("Corrigir", 1000, true, "i", playerid);
}
if(pickupid == saida)
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 1349.6332, -1551.5751, 13.5469);
lanchonete[playerid] = false;
KillTimer(CorrigirVar[playerid]);
}
if(pickupid == entradahotel)
{
ShowPlayerDialog(playerid, HOTEL, DIALOG_STYLE_MSGBOX,"Hotel Rooms","Para usar o hotel vocк tem que alugar um quarto\nNo valor de 100R$.\nDeseja alugar?\n\n","Alugar","Cancelar");
}
if(pickupid == saidahotel)
{
if(GetPVarInt(playerid,"Sono") <= 60) return SendClientMessage(playerid,-1,"Vocк estб com sono e nгo pode sair do Hotel antes de durmir!");
SetPlayerPos(playerid, 335.1270,-1519.3262,35.8672);
SetPlayerInterior(playerid, 0);
}
return 0;
}
public OnPlayerConnect(playerid)
{
static diimenor[80];
RemoveBuildingForPlayer(playerid, 4116, 1345.6250, -1552.9609, 48.5156, 0.25);
RemoveBuildingForPlayer(playerid, 4113, 1345.6250, -1552.9609, 48.5156, 0.25);
SetPlayerMapIcon(playerid, 0, 1352.1377, -1552.8381, 13.5469, 50, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid, 1,335.1270,-1519.3262,35.8672, 40, 0, MAPICON_GLOBAL);
lanchonete[playerid] = false;
for(new i; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
ShowProgressBarForPlayer(i, barfome);
ShowProgressBarForPlayer(i, barsede);
ShowProgressBarForPlayer(i, barsono);
TextDrawShowForPlayer(i, TextFome);
TextDrawShowForPlayer(i, TextSede);
TextDrawShowForPlayer(i, TextSono);
TextDrawShowForPlayer(i, Box);
}
}
format(arquivo, sizeof(arquivo), PASTA_CONTAS, PlayerName(playerid));
if(DOF2_FileExists(arquivo))
{
SetPVarInt(playerid,"Fome", DOF2_GetInt(arquivo, "Fome"));
SetPVarInt(playerid,"Sede", DOF2_GetInt(arquivo, "Sede"));
SetPVarInt(playerid,"Sono", DOF2_GetInt(arquivo, "Sono"));
SetProgressBarValue(barfome, DOF2_GetInt(arquivo, "Fome"));
SetProgressBarValue(barsede, DOF2_GetInt(arquivo, "Sede"));
SetProgressBarValue(barsono, DOF2_GetInt(arquivo, "Sono"));
UpdateProgressBar(barfome, playerid);
UpdateProgressBar(barsede, playerid);
UpdateProgressBar(barsono, playerid);
format(diimenor, sizeof(diimenor), "Carregando necessidades de %s", PlayerName(playerid));
print(diimenor);
}
else
{
DOF2_CreateFile(arquivo);
DOF2_SetInt(arquivo, "Fome", 100);
DOF2_SetInt(arquivo, "Sede", 100);
DOF2_SetInt(arquivo, "Sono", 100);
SetPVarInt(playerid,"Fome", DOF2_GetInt(arquivo, "Fome"));
SetPVarInt(playerid,"Sede", DOF2_GetInt(arquivo, "Sede"));
SetPVarInt(playerid,"Sono", DOF2_GetInt(arquivo, "Sono"));
SetProgressBarValue(barfome, DOF2_GetInt(arquivo, "Fome"));
SetProgressBarValue(barsede, DOF2_GetInt(arquivo, "Sede"));
SetProgressBarValue(barsono, DOF2_GetInt(arquivo, "Sono"));
UpdateProgressBar(barfome, playerid);
UpdateProgressBar(barsede, playerid);
UpdateProgressBar(barsono, playerid);
DOF2_SaveFile();
format(diimenor, sizeof(diimenor), "Criando arquivo de necessidades de %s", PlayerName(playerid));
print(diimenor);
}
return 1;
}
forward Fome(playerid);
public Fome(playerid)
{
SetPVarInt(playerid,"Fome", GetPVarInt(playerid,"Fome")-1);
SetProgressBarValue(barfome, GetPVarInt(playerid,"Fome"));
UpdateProgressBar(barfome,playerid);
if(GetPVarInt(playerid,"Fome") <= 10)
{
SendClientMessage(playerid,-1,"Vб atй a lanchonete comer ou irб morrer de fome!");
}
if(GetPVarInt(playerid,"Fome") <= 0)
{
SetPlayerHealth(playerid, 0);
SendClientMessage(playerid, -1, "Vocк morreu de fome. Coma algo na lanchonete!");
mFome[playerid] = true;
}
return 1;
}
forward Sono(playerid);
public Sono(playerid)
{
SetPVarInt(playerid,"Sono",GetPVarInt(playerid,"Sono")-1);
SetProgressBarValue(barsono, GetPVarInt(playerid,"Sono"));
UpdateProgressBar(barsono,playerid);
if(GetPVarInt(playerid,"Sono") <= 10)
{
SendClientMessage(playerid,-1,"Vocк esta passando mal por excesso de sono, se nгo durmir podera desmaiar.");
SetPlayerDrunkLevel(playerid, 4000);
}
if(GetPVarInt(playerid,"Sono") <= 0)
{
SetPlayerDrunkLevel(playerid, 0);
ApplyAnimation(playerid,"CRACK", "crckdeth2", 4.0, 1, 1, 1, 1, 0);
fadeIn(playerid, 8000, 0x000000FF);
KillTimer(ContagemSono[playerid]);
SendClientMessage(playerid, -1,"Vocк desmaiou por excesso de sono...");
SetTimerEx("AcordarDes", 40000, false, "i", playerid);
TogglePlayerControllable(playerid, false);
}
return 1;
}
forward Sede(playerid);
public Sede(playerid)
{
SetPVarInt(playerid,"Sede",GetPVarInt(playerid,"Sede")-1);
SetProgressBarValue(barsede, GetPVarInt(playerid,"Sede"));
UpdateProgressBar(barsede,playerid);
if(GetPVarInt(playerid,"Sede") <= 10)
{
SendClientMessage(playerid,-1,"Vocк estб com fome, coma algo na lanchonete ou ira morrer!");
}
if(GetPVarInt(playerid,"Sede")<= 0)
{
SetPlayerHealth(playerid, 0);
SendClientMessage(playerid, -1, "Vocк morreu desnutrido. Beba algo na lanchonete!");
mSede[playerid] = true;
}
return 1;
}
forward Acordar(playerid);
public Acordar(playerid)
{
TogglePlayerControllable(playerid, true);
fadeOut(playerid, 10000, 0x000000FF);
ClearAnimations(playerid);
ContagemSono[playerid] = SetTimerEx("Sono", 35000, true, "i", playerid);
SetProgressBarValue(barsono, 100);
UpdateProgressBar(barsono, playerid);
SetPVarInt(playerid,"Sono", 100);
return 1;
}
forward AcordarDes(playerid);
public AcordarDes(playerid)
{
TogglePlayerControllable(playerid, true);
fadeOut(playerid, 10000, 0x000000FF);
ClearAnimations(playerid);
ContagemSono[playerid] = SetTimerEx("Sono", 35000, true, "i", playerid);
SetProgressBarValue(barsono, 30);
UpdateProgressBar(barsono, playerid);
SetPVarInt(playerid,"Sono", 30);
SendClientMessage(playerid, -1,"Vocк acordou, durma (/durmir) para nгo desmaiar novamente!");
return 1;
}
public OnPlayerDeath(playerid ,killerid, reason)
{
if(mFome[playerid] == true)
{
SetProgressBarValue(barfome, 30);
UpdateProgressBar(barfome, playerid);
SetPVarInt(playerid,"Fome", 30);
mSede[playerid] = false;
}
else if(mSede[playerid] == true)
{
SetProgressBarValue(barsede, 30);
SetPVarInt(playerid,"Sede", 30);
UpdateProgressBar(barsede, playerid);
mSede[playerid] = false;
}
return 1;
}
forward SalvarDiiMeNoR(playerid);
public SalvarDiiMeNoR(playerid)
{
format(arquivo, sizeof(arquivo), PASTA_CONTAS, PlayerName(playerid));
if(DOF2_FileExists(arquivo))
{
DOF2_SetInt(arquivo, "Fome", GetPVarInt(playerid,"Fome"));
DOF2_SetInt(arquivo, "Sede", GetPVarInt(playerid,"Sede"));
DOF2_SetInt(arquivo, "Sono", GetPVarInt(playerid,"Sono"));
DOF2_SaveFile();
}
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
SalvarDiiMeNoR(playerid);
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == CARDAPIO)
{
if(!response) { return 1; }
switch(listitem)
{
case 0://Pizza
{
if(GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, 0xF68E00F6,"{FF0000}[ERRO] {FFFFFF}Vocк nгo tem R$50 para comprar!");
if(GetPVarInt(playerid,"Fome") >= 100) return SendClientMessage(playerid,-1,"Vocк estб satisfeito, nгo precisa mais de comida!");
ApplyAnimation(playerid,"FOOD","EAT_Pizza",4.1,0,1,1,1,1);
GivePlayerMoney(playerid, -50);
SendClientMessage(playerid, 0xFFFFFF ,"[INFO] Vocк acabou de comprar um prato 'Pizza'");
SetPVarInt(playerid,"Fome",GetPVarInt(playerid,"Fome")+10);
SetProgressBarValue(barfome, GetPVarInt(playerid,"Fome"));
UpdateProgressBar(barfome,playerid);
}
case 1://Macarronada
{
if(GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, 0xF68E00F6,"{FF0000}[ERRO] {FFFFFF}Vocк nгo tem R$20 para comprar!");
if(GetPVarInt(playerid,"Fome") >= 100) return SendClientMessage(playerid,-1,"Vocк estб satisfeito, nгo precisa mais de comida!");
ApplyAnimation(playerid,"FOOD","EAT_Pizza",4.1,0,1,1,1,1);
GivePlayerMoney(playerid, -20);
SendClientMessage(playerid, 0xFFFFFF ,"[INFO] Vocк acabou de comprar um prato 'Macarronada'");
SetPVarInt(playerid,"Fome",GetPVarInt(playerid,"Fome")+15);
SetProgressBarValue(barfome, GetPVarInt(playerid,"Fome"));
UpdateProgressBar(barfome,playerid);
}
case 2://Marmitex
{
if(GetPlayerMoney(playerid) < 12) return SendClientMessage(playerid, 0xF68E00F6,"{FF0000}[ERRO] {FFFFFF}Vocк nгo tem R$12 para comprar!");
if(GetPVarInt(playerid,"Fome") >= 100) return SendClientMessage(playerid,-1,"Vocк estб satisfeito, nгo precisa mais de comida!");
ApplyAnimation(playerid,"FOOD","EAT_Pizza",4.1,0,1,1,1,1);
GivePlayerMoney(playerid, -12);
SendClientMessage(playerid, 0xFFFFFF ,"[INFO] Vocк acabou de comprar um prato 'Marmitйx'");
SetPVarInt(playerid,"Fome",GetPVarInt(playerid,"Fome")+10);
SetProgressBarValue(barfome, GetPVarInt(playerid,"Fome"));
UpdateProgressBar(barfome,playerid);
}
case 3://Salmгo Grelhado
{
if(GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, 0xF68E00F6,"{FF0000}[ERRO] {FFFFFF}Vocк nгo tem R$20 para comprar!");
if(GetPVarInt(playerid,"Fome") >= 100) return SendClientMessage(playerid,-1,"Vocк estб satisfeito, nгo precisa mais de comida!");
ApplyAnimation(playerid,"FOOD","EAT_Pizza",4.1,0,1,1,1,1);
GivePlayerMoney(playerid, -20);
SendClientMessage(playerid, 0xFFFFFF ,"[INFO] Vocк acabou de comprar um prato 'Salmгo Grelhado'");
SetPVarInt(playerid,"Fome",GetPVarInt(playerid,"Fome")+30);
SetProgressBarValue(barfome, GetPVarInt(playerid,"Fome"));
UpdateProgressBar(barfome,playerid);
}
case 4://Bacalhau
{
if(GetPlayerMoney(playerid) < 21) return SendClientMessage(playerid, 0xF68E00F6,"{FF0000}[ERRO] {FFFFFF}Vocк nгo tem R$21 para comprar!");
if(GetPVarInt(playerid,"Fome") >= 100) return SendClientMessage(playerid,-1,"Vocк estб satisfeito, nгo precisa mais de comida!");
ApplyAnimation(playerid,"FOOD","EAT_Pizza",4.1,0,1,1,1,1);
GivePlayerMoney(playerid, -21);
SendClientMessage(playerid, 0xFFFFFF ,"[INFO] Vocк acabou de comprar um prato 'Bacalhau'");
SetPVarInt(playerid,"Fome",GetPVarInt(playerid,"Fome")+20);
SetProgressBarValue(barfome, GetPVarInt(playerid,"Fome"));
UpdateProgressBar(barfome,playerid);
}
case 5://Agua
{
if(GetPlayerMoney(playerid) < 5) return SendClientMessage(playerid, 0xF68E00F6,"{FF0000}[ERRO] {FFFFFF}Vocк nгo tem R$5 para comprar!");
if(GetPVarInt(playerid,"Sede") >= 100) return SendClientMessage(playerid,-1,"Vocк estб satisfeito, nгo precisa mais de bebida!");
ApplyAnimation(playerid,"VENDING","VEND_Drink_P",4.1,0,1,1,0,1);
GivePlayerMoney(playerid, -5);
SendClientMessage(playerid, 0xFFFFFF ,"[INFO] Vocк acabou de beber 'Бgua'");
SetPVarInt(playerid,"Sede",GetPVarInt(playerid,"Sede")+5);
SetProgressBarValue(barsede, GetPVarInt(playerid,"Sede"));
UpdateProgressBar(barsede,playerid);
}
case 6://Suco
{
if(GetPlayerMoney(playerid) < 12) return SendClientMessage(playerid, 0xF68E00F6,"{FF0000}[ERRO] {FFFFFF}Vocк nгo tem R$12 para comprar!");
if(GetPVarInt(playerid,"Sede") >= 100) return SendClientMessage(playerid,-1,"Vocк estб satisfeito, nгo precisa mais de bebida!");
ApplyAnimation(playerid,"VENDING","VEND_Drink_P",4.1,0,1,1,0,1);
GivePlayerMoney(playerid, -12);
SendClientMessage(playerid, 0xFFFFFF ,"[INFO] Vocк acabou de beber 'Suco'");
SetPVarInt(playerid,"Sede",GetPVarInt(playerid,"Sede")+10);
SetProgressBarValue(barsede, GetPVarInt(playerid,"Sede"));
UpdateProgressBar(barsede, playerid);
}
case 7://Refrigerante
{
if(GetPlayerMoney(playerid) < 17) return SendClientMessage(playerid, 0xF68E00F6,"{FF0000}[ERRO] {FFFFFF}Vocк nгo tem R$17 para comprar!");
if(GetPVarInt(playerid,"Sede") >= 100) return SendClientMessage(playerid,-1,"Vocк estб satisfeito, nгo precisa mais de bebida!");
ApplyAnimation(playerid,"VENDING","VEND_Drink_P",4.1,0,1,1,0,1);
GivePlayerMoney(playerid, -17);
SendClientMessage(playerid, 0xFFFFFF ,"[INFO] Vocк acabou de beber 'Refrigerante'");
SetPVarInt(playerid,"Sede",GetPVarInt(playerid,"Sede")+15);
SetProgressBarValue(barsede, GetPVarInt(playerid,"Sede"));
UpdateProgressBar(barsede,playerid);
}
case 8://Energetico
{
if(GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, 0xF68E00F6,"{FF0000}[ERRO] {FFFFFF}Vocк nгo tem R$100 para comprar!");
if(GetPVarInt(playerid,"Sede") >= 100) return SendClientMessage(playerid,-1,"Vocк estб satisfeito, nгo precisa mais de bebida!");
ApplyAnimation(playerid,"VENDING","VEND_Drink_P",4.1,0,1,1,0,1);
GivePlayerMoney(playerid,-100);
SendClientMessage(playerid, 0xFFFFFF ,"[INFO] Vocк acabou de beber 'Energetico'");
SetPVarInt(playerid,"Sede",GetPVarInt(playerid,"Sede")+40);
SetProgressBarValue(barsede, GetPVarInt(playerid,"Sede"));
UpdateProgressBar(barsede,playerid);
}
}
}
if(dialogid == HOTEL)
{
if(response)
{
if(GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, -1,"|HOTEL| Vocк nгo tem R$100 para alugar!");
if(GetPVarInt(playerid,"Sono") >= 75) return SendClientMessage(playerid,-1,"|INFO| Vocк nгo esta com sono!");
SetPlayerPos(playerid, 345.4432,302.6292,999.9382);
SetPlayerInterior(playerid, 6);
SendClientMessage(playerid, -1, "|Hotel| Para dumir use (/durmir), em cima da cama");
GivePlayerMoney(playerid, -100);
}
else
{
SendClientMessage(playerid, -1, "Vocк optou por nгo alugar, pode durmir em sua casa.");
}
}
return 0;
}
forward Corrigir(playerid);
public Corrigir(playerid)
{
if(GetPVarInt(playerid,"Sede") > 100)
{
SetPVarInt(playerid,"Sede", 100);
SetProgressBarValue(barsede, GetPVarInt(playerid,"Sede"));
UpdateProgressBar(barsede,playerid);
}
if(GetPVarInt(playerid,"Fome") > 100)
{
SetPVarInt(playerid,"Fome", 100);
SetProgressBarValue(barsede, GetPVarInt(playerid,"Fome"));
UpdateProgressBar(barsede, playerid);
}
return false;
}
CMD:cardapio(playerid)
{
if(lanchonete[playerid] == true)
{
ShowPlayerDialog(playerid, CARDAPIO ,DIALOG_STYLE_LIST,"Cardбpio Lanchonete","- Pizza\t{00EE76}R$150\n- Macarronada\t{00EE76}R$200\n- Marmitex\t{00EE76}R$120\n- Salmгo Grelhado\t{00EE76}R$200\n- Bacalhau\t{00EE76}R$210\n- Бgua\t{00EE76}R$5\n- Suco\t{00EE76}R$12\n- Refrigerante\t{00EE76}R$17\n- Energetico\t{00EE76}R$100\n\n","Aceitar","Cancelar");
}
else
{
SendClientMessage(playerid, -1,"[ERRO]Vocк nгo esta na lanchonete!");
}
return 1;
}
CMD:durmir(playerid)
{
if(!IsPlayerInRangeOfPoint(playerid, 2.0, 345.4432,302.6292,999.9382)) return SendClientMessage(playerid,-1,"|INFO| Vocк nгo esta em cima da cama!");
if(GetPVarInt(playerid,"Sono") >= 75) return SendClientMessage(playerid,-1,"|INFO| Vocк nгo esta com sono!");
TogglePlayerControllable(playerid, false);
SetPlayerDrunkLevel(playerid, 0);
ApplyAnimation(playerid,"CRACK", "crckdeth2", 4.0, 1, 1, 1, 1, 0);
KillTimer(ContagemSono[playerid]);
FadeIn(playerid, 8000, 0x000000FF);
SetTimerEx("Acordar", 40000, false, "i", playerid);
return 1;
}
stock Objetos()
{
CreateObject(16781, 1355.200000, -1553.700000, 12.400000, 0.000000, 0.000000, 254.000000);
Cercas[0] = CreateObject(1408, 1358.100000, -1570.600000, 13.100000, 0.000000, 0.000000, 345.000000);
Cercas[1] = CreateObject(1408, 1353.100000, -1569.200000, 13.100000, 0.000000, 0.000000, 344.998000);
Cercas[2] = CreateObject(1408, 1348.100000, -1567.800000, 13.100000, 0.000000, 0.000000, 344.998000);
Cercas[3] = CreateObject(1408, 1343.100000, -1566.400000, 13.100000, 0.000000, 0.000000, 344.998000);
Cercas[4] = CreateObject(1408, 1330.300000, -1563.000000, 13.100000, 0.000000, 0.000000, 346.998000);
Cercas[5] = CreateObject(1408, 1325.200000, -1562.300000, 13.100000, 0.000000, 0.000000, 356.998000);
Cercas[6] = CreateObject(1408, 1327.900000, -1537.000000, 13.100000, 0.000000, 0.000000, 248.000000);
Cercas[7] = CreateObject(1408, 1326.100000, -1541.900000, 13.100000, 0.000000, 0.000000, 252.000000);
Cercas[8] = CreateObject(1408, 1324.900000, -1546.900000, 13.100000, 0.000000, 0.000000, 262.000000);
Cercas[9] = CreateObject(1408, 1324.100000, -1552.000000, 13.100000, 0.000000, 0.000000, 260.000000);
Cercas[10] = CreateObject(1408, 1323.300000, -1557.100000, 13.100000, 0.000000, 0.000000, 262.000000);
Cercas[11] = CreateObject(1408, 1323.000000, -1559.500000, 13.100000, 0.000000, 0.000000, 262.000000);
CreateObject(4100, 1336.100000, -1535.000000, 14.200000, 0.000000, 0.000000, 316.000000);
CreateObject(4100, 1349.700000, -1536.200000, 14.200000, 0.000000, 0.000000, 314.000000);
CreateObject(4100, 1363.100000, -1538.900000, 14.200000, 0.000000, 0.000000, 304.000000);
CreateObject(1594, 1325.900000, -1559.800000, 13.000000, 0.000000, 0.000000, 0.000000);
CreateObject(1594, 1330.900000, -1560.000000, 13.000000, 0.000000, 0.000000, 0.000000);
CreateObject(1594, 1346.100000, -1544.600000, 13.000000, 0.000000, 0.000000, 0.000000);
CreateObject(14657, 1334.600000, -1543.400000, 13.100000, 0.000000, 0.000000, 84.000000);
CreateObject(1281, 1334.700000, -1544.000000, 13.300000, 0.000000, 0.000000, 0.000000);
CreateObject(1582, 1334.100000, -1549.500000, 13.400000, 0.000000, 0.000000, 0.000000);
CreateObject(2420, 1341.100000, -1565.900000, 12.800000, 0.000000, 0.000000, 344.000000);
CreateObject(955, 1350.600000, -1555.700000, 12.500000, 0.000000, 0.000000, 256.000000);
}
stock PlayerName(playerid)
{
static name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
return name;
}