C:\Users\NauanVieira ~\Desktop\BPS\gamemodes\BPS.pwn(38253) : error 017: undefined symbol "NameTimer"
NameTimer(1);
public CustomPickups()
{
new Float:oldposx, Float:oldposy, Float:oldposz;
NameTimer(1);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
GetPlayerPos(i, oldposx, oldposy, oldposz);
//new tmpcar = GetPlayerVehicleID(i);
if(oldposx!=0.0 && oldposy!=0.0 && oldposz!=0.0)
{
for(new h = 0; h < sizeof(SBizzInfo); h++)
{
if(PlayerToPoint(2.0, i, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]))
{
if(SBizzInfo[h][sbOwned] == 1)
{
new MostString7[500];
Delete3DTextLabel(Text3D:MostLabel6);
format(MostString7, sizeof(MostString7), "{00FF00}Brasil {FFFF00}Play{0000FF}game{FFFFFF}\n%s\nDono: %s\nExtorзгo: %s\nEntrada: $%d\nNнvel: %d\nProdutos: %d\nPreзo por Produto: %d\nFundos: %d",SBizzInfo[h][sbMessage],SBizzInfo[h][sbOwner],SBizzInfo[h][sbExtortion],SBizzInfo[h][sbEntranceCost],SBizzInfo[h][sbLevelNeeded],(SBizzInfo[h][sbMaxProdutos]-SBizzInfo[h][sbProdutos]),SBizzInfo[h][sbPriceProd],SBizzInfo[h][sbTill]);
MostLabel7 = Create3DTextLabel(MostString7 ,0x0FFFC8FF,SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ],10, 0, 1);
}
else
{
new MostString6[256];
Delete3DTextLabel(Text3D:MostLabel7);
format(MostString6, sizeof(MostString6), "{00FF00}Brasil {FFFF00}Play{0000FF}Game{FFFFFF}\nEsta empresa estб a venda\n%s\nPreзo: $%d\nNivel: %d \nSe vocк for um Jogador VIP pode comprar esta empresa\nUsando /comprarempresa",SBizzInfo[h][sbMessage],SBizzInfo[h][sbBuyPrice],SBizzInfo[h][sbLevelNeeded]);
MostLabel6 = Create3DTextLabel(MostString6 ,0x0FFFC8FF,SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ],10, 0, 1);
}
return 1;
}
}
eu apaguei so que na hora de entra no servidor ele buga eu ponho a senha para registra a senha pra login ai quando eu termino o boneco fica caindo pro chгo , ai quando ele cai ele morre e fica fazendo isso toda hora
|
public OnPlayerSpawn(playerid)
{
if(Info[playerid][Arara]) { SetPlayerAttachedObject(playerid,0, 19079, 1, 0.319503, -0.089340, -0.185576, 0.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000 ); }
if(IsDead[playerid] == 1)
{
SetPlayerSkin(playerid, Skin[playerid]);
IsDead[playerid] = 0;
}
spawnado[playerid] = 1;
GangZones();
InitLockDoors(playerid);
STDPlayer[playerid] = 0;
AntiDeAMX();
gTeam[playerid] = PlayerInfo[playerid][pTeam]; //Set the Team
if (gTeam[playerid] == 4) //medic / criminal reset team
{
gTeam[playerid] = 3;
}
if(gPlayerLogged[playerid] == 0)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "** Vocк precisa logar antes do Spawn (Kickado) **");
KickPlayer[playerid] = 1;
}
new NameTimer;
forward NameTimer(1);
public NameTimer(1){
//funзхes
return 1;
}
public CustomPickups()
{
new Float:oldposx, Float:oldposy, Float:oldposz;
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
NameTimer(i);
GetPlayerPos(i, oldposx, oldposy, oldposz);
//new tmpcar = GetPlayerVehicleID(i);
if(oldposx!=0.0 && oldposy!=0.0 && oldposz!=0.0)
{
for(new h = 0; h < sizeof(SBizzInfo); h++)
{
if(PlayerToPoint(2.0, i, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]))
{
if(SBizzInfo[h][sbOwned] == 1)
{
new MostString7[500];
Delete3DTextLabel(Text3D:MostLabel6);
format(MostString7, sizeof(MostString7), "{00FF00}Brasil {FFFF00}Play{0000FF}game{FFFFFF}\n%s\nDono: %s\nExtorзгo: %s\nEntrada: $%d\nNнvel: %d\nProdutos: %d\nPreзo por Produto: %d\nFundos: %d",SBizzInfo[h][sbMessage],SBizzInfo[h][sbOwner],SBizzInfo[h][sbExtortion],SBizzInfo[h][sbEntranceCost],SBizzInfo[h][sbLevelNeeded],(SBizzInfo[h][sbMaxProdutos]-SBizzInfo[h][sbProdutos]),SBizzInfo[h][sbPriceProd],SBizzInfo[h][sbTill]);
MostLabel7 = Create3DTextLabel(MostString7 ,0x0FFFC8FF,SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ],10, 0, 1);
}
else
{
new MostString6[256];
Delete3DTextLabel(Text3D:MostLabel7);
format(MostString6, sizeof(MostString6), "{00FF00}Brasil {FFFF00}Play{0000FF}Game{FFFFFF}\nEsta empresa estб a venda\n%s\nPreзo: $%d\nNivel: %d \nSe vocк for um Jogador VIP pode comprar esta empresa\nUsando /comprarempresa",SBizzInfo[h][sbMessage],SBizzInfo[h][sbBuyPrice],SBizzInfo[h][sbLevelNeeded]);
MostLabel6 = Create3DTextLabel(MostString6 ,0x0FFFC8FF,SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ],10, 0, 1);
}
return 1;
}
}