[Ajuda] Algum Scripter Para me ajudar com um probleminha no meu gm
#1

preciso de algum scripter que me ajude seja humilde

me chama no face Buchecha tdm agredeзo
Reply
#2

Mano se for o TAL KICK DERRUBANDO O SERVER baixa a desgraзa do ZCMD e olha todos os topicos que vc criou e pega um comando em ZCMD que vai funcionar.
Aqui.
https://sampforum.blast.hk/showthread.php?tid=91354

Isso й preguiзa ou vc й um daqueles caras que quer tudo na mгo ?
Reply
#3

amigo nй n e um outro erro olha

C:\Users\WainnerSantos\Desktop\TRAFICO DOS MORROS\gamemodes\FL.pwn(5834) : error 017: undefined symbol "Player"
C:\Users\WainnerSantos\Desktop\TRAFICO DOS MORROS\gamemodes\FL.pwn(5834) : warning 215: expression has no effect
C:\Users\WainnerSantos\Desktop\TRAFICO DOS MORROS\gamemodes\FL.pwn(5834) : error 001: expected token: ";", but found "]"
C:\Users\WainnerSantos\Desktop\TRAFICO DOS MORROS\gamemodes\FL.pwn(5834) : error 029: invalid expression, assumed zero
C:\Users\WainnerSantos\Desktop\TRAFICO DOS MORROS\gamemodes\FL.pwn(5834) : fatal error 107: too many error messages on one line
ESSE E O ERRO AGORA VO MOSTRA O CODIGO DAONDE VEM O ERRO


// -------------------------------------- CIFRAO -------------------------------//
if(newkeys == KEY_SECONDARY_ATTACK) // Cifrao
{
if(IsPlayerInRangeOfPoint(playerid, 1.0, 2777.0425,-955.7725,46.7183)) //chapadao
{
if(Player[playerid][pEXERCITO] >= 1 || Player[playerid][pBOPE] >= 1 || Player[playerid][pPM] >= 1 || Player[playerid][pCORE] >= 1)return SendClientMessage(playerid, COR_ERRO, "ERRO: Policial nгo pega cifrгo ");
CifraoCMD1(playerid);
}
if(IsPlayerInRangeOfPoint(playerid, 1.0, 893.9015,2219.3218,10.8203)) //Nova Holanda
{
if(Player[playerid][pEXERCITO] >= 1 || Player[playerid][pBOPE] >= 1 || Player[playerid][pPM] >= 1 || Player[playerid][pCORE] >= 1)return SendClientMessage(playerid, COR_ERRO, "ERRO: Policial nгo pega cifrгo ");
CifraoCMD2(playerid);
}
if(IsPlayerInRangeOfPoint(playerid, 1.0, -1310.2856,2478.3535,93.6766)) //Cidade Alta
{
if(Player[playerid][pEXERCITO] >= 1 || Player[playerid][pBOPE] >= 1 || Player[playerid][pPM] >= 1 || Player[playerid][pCORE] >= 1)return SendClientMessage(playerid, COR_ERRO, "ERRO: Policial nгo pega cifrгo ");
CifraoCMD3(playerid);
}
if(IsPlayerInRangeOfPoint(playerid, 1.0, 2658.3210,-876.0183,72.956) //Urubu
{
if(Player[playerid][pEXERCITO] >= 1 || Player[playerid][pBOPE] >= 1 || Player[playerid][pPM] >= 1 || Player[playerid][pCORE] >= 1)return SendClientMessage(playerid, COR_ERRO, "ERRO: Policial nгo pega cifrгo ");
CifraoLLL1(playerid);
}
if(IsPlayerInRangeOfPoint(playerid, 1.0, 2217.9912,-1046.9722,57.6375)) //Vila Vintem
{
if(Player[playerid][pEXERCITO] >= 1 || Player[playerid][pBOPE] >= 1 || Player[playerid][pPM] >= 1 || Player[playerid][pCORE] >= 1)return SendClientMessage(playerid, COR_ERRO, "ERRO: Policial nгo pega cifrгo ");
CifraoLLL2(playerid);
}
if(IsPlayerInRangeOfPoint(playerid, 1.0, 1832.0605,-843.6221,110.6000)) //Morro do 18
{
if(Player[playerid][pEXERCITO] >= 1 || Player[playerid][pBOPE] >= 1 || Player[playerid][pPM] >= 1 || Player[playerid][pCORE] >= 1)return SendClientMessage(playerid, COR_ERRO, "ERRO: Policial nгo pega cifrгo ");
CifraoLLL3(playerid);
}
if(IsPlayerInRangeOfPoint(playerid, 1.0, 97.0836,2054.3533,17.9935)) //Vila do Joгo
{
if(Player[playerid][pEXERCITO] >= 1 || Player[playerid][pBOPE] >= 1 || Player[playerid][pPM] >= 1 || Player[playerid][pCORE] >= 1)return SendClientMessage(playerid, COR_ERRO, "ERRO: Policial nгo pega cifrгo ");
CifraoTD31(playerid);
}
if(IsPlayerInRangeOfPoint(playerid, 1.0, 2019.6045,2836.8647,12.5185)) //Sapo de Camarб
{
if(Player[playerid][pEXERCITO] >= 1 || Player[playerid][pBOPE] >= 1 || Player[playerid][pPM] >= 1 || Player[playerid][pCORE] >= 1)return SendClientMessage(playerid, COR_ERRO, "ERRO: Policial nгo pega cifrгo ");
CifraoTD32(playerid);
}
if(IsPlayerInRangeOfPoint(playerid, 1.0, 0.0,2859.3665,11.4797)) //Baixa Do Sapateiro
{
if(Player[playerid][pEXERCITO] >= 1 || Player[playerid][pBOPE] >= 1 || Player[playerid][pPM] >= 1 || Player[playerid][pCORE] >= 1)return SendClientMessage(playerid, COR_ERRO, "ERRO: Policial nгo pega cifrгo ");
CifraoTD33(playerid);
}
if(IsPlayerInRangeOfPoint(playerid, 1.0, 0.0,0.0,0.0)) //barгo
{
if(Player[playerid][pEXERCITO] >= 1 || Player[playerid][pBOPE] >= 1 || Player[playerid][pPM] >= 1 || Player[playerid][pCORE] >= 1)return SendClientMessage(playerid, COR_ERRO, "ERRO: Policial nгo pega cifrгo ");
CifraoMLC1(playerid);
}
if(IsPlayerInRangeOfPoint(playerid, 1.0, 0.0,0.0,0.0)) //Fuba
{
if(Player[playerid][pEXERCITO] >= 1 || Player[playerid][pBOPE] >= 1 || Player[playerid][pPM] >= 1 || Player[playerid][pCORE] >= 1)return SendClientMessage(playerid, COR_ERRO, "ERRO: Policial nгo pega cifrгo ");
CifraoMLC2(playerid);
}
if(IsPlayerInRangeOfPoint(playerid, 1.0, 0.0,0.0,0.0)) //Bairro Tanque
{
if(Player[playerid][pEXERCITO] >= 1 || Player[playerid][pBOPE] >= 1 || Player[playerid][pPM] >= 1 || Player[playerid][pCORE] >= 1)return SendClientMessage(playerid, COR_ERRO, "ERRO: Policial nгo pega cifrгo ");
CifraoMLC3(playerid);
}
}
Reply
#4

Manda sу essa linha lek: 5834
Reply
#5

porra mano quando for postar seus cуdigos coloque
[CODE]seu cуdigo aqui[*CODE] OBS troque * por /
Reply
#6

Sу colocar no topo new Player[MAX_PLAYERS][pInfo];
Reply
#7

PHP код:
enum pInfo {
BOPE,
EXERCITO,
PM,
CORE
}
new 
Player[MAX_PLAYERS][pInfo];
e para n ficar usando direto os check lб crie uma enum para armazena os locais 
PHP код:
enum cifrao {
cordenadas[3], //3 x y e z
}
new 
Posicoes[13][cifrao] = {
//cordenadas
  //x y z
{0.0,0.0,0.0}, //id = 0
{0.0,0.0,0.0}, //id 1
{0.0,0.0,0.0},
{
0.0,0.0,0.0},
{
0.0,0.0,0.0},
{
0.0,0.0,0.0},
{
0.0,0.0,0.0},
{
0.0,0.0,0.0},
{
0.0,0.0,0.0},
{
0.0,2859.3665,11.4797}, //baixa do sapateiro id9
{0.0,0.0,0.0},
{
0.0,0.0,0.0},
{
0.0,0.0,0.0// id 12
}; 
entendendo?

ai pra checar use:
PHP код:
for(new 0i<=13i++)//
{
if(
IsPlayerInRangeOfPoint(playerid1.0Posicoes[i][cordenadas][0],Posicoes[i][cordenadas][1],Posicoes[i][cordenadas][2])) //aqui ja vai checar todos de uma vez:

Reply
#8

Cara eu atй iria te ajudar mais vc disse q precisa de um scripter humilde e eu nгo sou desculpe.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)