PAWN COMPILER LIBARY PAROU DE FUNCIONAR - EduzinMods - 09/12/2023
EU TOU COM UMA FILTERSCRIPT E ELA N COMPILA DA "PAWNO COMPILER LIBARY PAROU DE FUCNIONAR" E ESSE ERO E POR CAUSA DO [progress2]
QUANDO TIROU OU RENOMEIO ELA COPILA. JA ATUALIZEI E N DEU CERTO.
FOTO:
https://imgur.com/a/SZSCouX
filterscript:
Código PHP: #include <a_samp> #include <progress2>
new Text:TelaLogin[7]; new PlayerBar:PlayerProgressBar[MAX_PLAYERS][1];
public OnFilterScriptInit() { TelaLogin[0] = TextDrawCreate(295.000000, 1.000000, "_"); TextDrawFont(TelaLogin[0], 1); TextDrawLetterSize(TelaLogin[0], 1.000000, 49.549968); TextDrawTextSize(TelaLogin[0], 298.500000, 844.000000); TextDrawSetOutline(TelaLogin[0], 1); TextDrawSetShadow(TelaLogin[0], 0); TextDrawAlignment(TelaLogin[0], 2); TextDrawColor(TelaLogin[0], 255); TextDrawBackgroundColor(TelaLogin[0], 0); TextDrawBoxColor(TelaLogin[0], 255); TextDrawUseBox(TelaLogin[0], 1); TextDrawSetProportional(TelaLogin[0], 1); TextDrawSetSelectable(TelaLogin[0], 0);
TelaLogin[1] = TextDrawCreate(252.000000, 156.000000, "CIANORTE"); TextDrawFont(TelaLogin[1], 3); TextDrawLetterSize(TelaLogin[1], 0.600000, 3.049997); TextDrawTextSize(TelaLogin[1], 400.000000, 17.000000); TextDrawSetOutline(TelaLogin[1], 0); TextDrawSetShadow(TelaLogin[1], 0); TextDrawAlignment(TelaLogin[1], 1); TextDrawColor(TelaLogin[1], 65535); TextDrawBackgroundColor(TelaLogin[1], -1); TextDrawBoxColor(TelaLogin[1], 50); TextDrawUseBox(TelaLogin[1], 0); TextDrawSetProportional(TelaLogin[1], 1); TextDrawSetSelectable(TelaLogin[1], 0);
TelaLogin[2] = TextDrawCreate(295.000000, 184.000000, "ROLEPLAY"); TextDrawFont(TelaLogin[2], 3); TextDrawLetterSize(TelaLogin[2], 0.662499, 2.649998); TextDrawTextSize(TelaLogin[2], 400.000000, 17.000000); TextDrawSetOutline(TelaLogin[2], 0); TextDrawSetShadow(TelaLogin[2], 0); TextDrawAlignment(TelaLogin[2], 1); TextDrawColor(TelaLogin[2], -764862721); TextDrawBackgroundColor(TelaLogin[2], -1); TextDrawBoxColor(TelaLogin[2], 50); TextDrawUseBox(TelaLogin[2], 1); TextDrawSetProportional(TelaLogin[2], 1); TextDrawSetSelectable(TelaLogin[2], 0);
TelaLogin[3] = TextDrawCreate(253.000000, 397.000000, "SUA SEGUNDA VIDA COMECA AQUI."); TextDrawFont(TelaLogin[3], 1); TextDrawLetterSize(TelaLogin[3], 0.220832, 2.000000); TextDrawTextSize(TelaLogin[3], 400.000000, 17.000000); TextDrawSetOutline(TelaLogin[3], 1); TextDrawSetShadow(TelaLogin[3], 0); TextDrawAlignment(TelaLogin[3], 1); TextDrawColor(TelaLogin[3], -16776961); TextDrawBackgroundColor(TelaLogin[3], 255); TextDrawBoxColor(TelaLogin[3], 50); TextDrawUseBox(TelaLogin[3], 1); TextDrawSetProportional(TelaLogin[3], 1); TextDrawSetSelectable(TelaLogin[3], 0);
TelaLogin[4] = TextDrawCreate(-98.000000, -69.000000, "ld_beat:chit"); TextDrawFont(TelaLogin[4], 4); TextDrawLetterSize(TelaLogin[4], 0.600000, 2.000000); TextDrawTextSize(TelaLogin[4], 256.000000, 244.000000); TextDrawSetOutline(TelaLogin[4], 1); TextDrawSetShadow(TelaLogin[4], 0); TextDrawAlignment(TelaLogin[4], 1); TextDrawColor(TelaLogin[4], 65535); TextDrawBackgroundColor(TelaLogin[4], 255); TextDrawBoxColor(TelaLogin[4], 50); TextDrawUseBox(TelaLogin[4], 1); TextDrawSetProportional(TelaLogin[4], 1); TextDrawSetSelectable(TelaLogin[4], 0);
TelaLogin[5] = TextDrawCreate(475.000000, 279.000000, "ld_beat:chit"); TextDrawFont(TelaLogin[5], 4); TextDrawLetterSize(TelaLogin[5], 0.600000, 2.000000); TextDrawTextSize(TelaLogin[5], 256.000000, 244.000000); TextDrawSetOutline(TelaLogin[5], 1); TextDrawSetShadow(TelaLogin[5], 0); TextDrawAlignment(TelaLogin[5], 1); TextDrawColor(TelaLogin[5], 65535); TextDrawBackgroundColor(TelaLogin[5], 255); TextDrawBoxColor(TelaLogin[5], 50); TextDrawUseBox(TelaLogin[5], 1); TextDrawSetProportional(TelaLogin[5], 1); TextDrawSetSelectable(TelaLogin[5], 0);
TelaLogin[6] = TextDrawCreate(298.000000, 310.000000, "CARREGANDO..."); TextDrawFont(TelaLogin[6], 1); TextDrawLetterSize(TelaLogin[6], 0.245832, 1.350000); TextDrawTextSize(TelaLogin[6], 400.000000, 17.000000); TextDrawSetOutline(TelaLogin[6], 1); TextDrawSetShadow(TelaLogin[6], 0); TextDrawAlignment(TelaLogin[6], 1); TextDrawColor(TelaLogin[6], -1); TextDrawBackgroundColor(TelaLogin[6], 255); TextDrawBoxColor(TelaLogin[6], 50); TextDrawUseBox(TelaLogin[6], 1); TextDrawSetProportional(TelaLogin[6], 1); TextDrawSetSelectable(TelaLogin[6], 0);
return 1; }
public OnFilterScriptExit() { TextDrawDestroy(TelaLogin[0]); TextDrawDestroy(TelaLogin[1]); TextDrawDestroy(TelaLogin[2]); TextDrawDestroy(TelaLogin[3]); TextDrawDestroy(TelaLogin[4]); TextDrawDestroy(TelaLogin[5]); TextDrawDestroy(TelaLogin[6]); return 1; }
public OnPlayerConnect(playerid) { PlayerProgressBar[playerid][0] = CreatePlayerProgressBar(playerid, 160.000000, 292.000000, 331.500000, 14.500000, 65484, 100.000000, 0); SetPlayerProgressBarValue(playerid, PlayerProgressBar[playerid][0], 50.000000);
return 1; }
public OnPlayerDisconnect(playerid, reason) { DestroyPlayerProgressBar(playerid, PlayerProgressBar[playerid][0]); return 1; }
public OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp(cmdtext, "/tdtest", true)) { TextDrawShowForPlayer(playerid, TelaLogin[0]); TextDrawShowForPlayer(playerid, TelaLogin[1]); TextDrawShowForPlayer(playerid, TelaLogin[2]); TextDrawShowForPlayer(playerid, TelaLogin[3]); TextDrawShowForPlayer(playerid, TelaLogin[4]); TextDrawShowForPlayer(playerid, TelaLogin[5]); TextDrawShowForPlayer(playerid, TelaLogin[6]); ShowPlayerProgressBar(playerid, PlayerProgressBar[playerid][0]); return 1; } return 0; }
RE: PAWN COMPILER LIBARY PAROU DE FUNCIONAR - pushline - 11/12/2023
Atualize a progress2?
https://github.com/Southclaws/progress2/blob/master/progress2.inc
RE: PAWN COMPILER LIBARY PAROU DE FUNCIONAR - RosaScripter - 11/12/2023
(09/12/2023 13:47)EduzinMods Escreveu: EU TOU COM UMA FILTERSCRIPT E ELA N COMPILA DA "PAWNO COMPILER LIBARY PAROU DE FUCNIONAR" E ESSE ERO E POR CAUSA DO [progress2]
QUANDO TIROU OU RENOMEIO ELA COPILA. JA ATUALIZEI E N DEU CERTO.
FOTO:
https://imgur.com/a/SZSCouX
filterscript:
Código PHP: #include <a_samp> #include <progress2>
new Text:TelaLogin[7]; new PlayerBar:PlayerProgressBar[MAX_PLAYERS][1];
public OnFilterScriptInit() { TelaLogin[0] = TextDrawCreate(295.000000, 1.000000, "_"); TextDrawFont(TelaLogin[0], 1); TextDrawLetterSize(TelaLogin[0], 1.000000, 49.549968); TextDrawTextSize(TelaLogin[0], 298.500000, 844.000000); TextDrawSetOutline(TelaLogin[0], 1); TextDrawSetShadow(TelaLogin[0], 0); TextDrawAlignment(TelaLogin[0], 2); TextDrawColor(TelaLogin[0], 255); TextDrawBackgroundColor(TelaLogin[0], 0); TextDrawBoxColor(TelaLogin[0], 255); TextDrawUseBox(TelaLogin[0], 1); TextDrawSetProportional(TelaLogin[0], 1); TextDrawSetSelectable(TelaLogin[0], 0);
TelaLogin[1] = TextDrawCreate(252.000000, 156.000000, "CIANORTE"); TextDrawFont(TelaLogin[1], 3); TextDrawLetterSize(TelaLogin[1], 0.600000, 3.049997); TextDrawTextSize(TelaLogin[1], 400.000000, 17.000000); TextDrawSetOutline(TelaLogin[1], 0); TextDrawSetShadow(TelaLogin[1], 0); TextDrawAlignment(TelaLogin[1], 1); TextDrawColor(TelaLogin[1], 65535); TextDrawBackgroundColor(TelaLogin[1], -1); TextDrawBoxColor(TelaLogin[1], 50); TextDrawUseBox(TelaLogin[1], 0); TextDrawSetProportional(TelaLogin[1], 1); TextDrawSetSelectable(TelaLogin[1], 0);
TelaLogin[2] = TextDrawCreate(295.000000, 184.000000, "ROLEPLAY"); TextDrawFont(TelaLogin[2], 3); TextDrawLetterSize(TelaLogin[2], 0.662499, 2.649998); TextDrawTextSize(TelaLogin[2], 400.000000, 17.000000); TextDrawSetOutline(TelaLogin[2], 0); TextDrawSetShadow(TelaLogin[2], 0); TextDrawAlignment(TelaLogin[2], 1); TextDrawColor(TelaLogin[2], -764862721); TextDrawBackgroundColor(TelaLogin[2], -1); TextDrawBoxColor(TelaLogin[2], 50); TextDrawUseBox(TelaLogin[2], 1); TextDrawSetProportional(TelaLogin[2], 1); TextDrawSetSelectable(TelaLogin[2], 0);
TelaLogin[3] = TextDrawCreate(253.000000, 397.000000, "SUA SEGUNDA VIDA COMECA AQUI."); TextDrawFont(TelaLogin[3], 1); TextDrawLetterSize(TelaLogin[3], 0.220832, 2.000000); TextDrawTextSize(TelaLogin[3], 400.000000, 17.000000); TextDrawSetOutline(TelaLogin[3], 1); TextDrawSetShadow(TelaLogin[3], 0); TextDrawAlignment(TelaLogin[3], 1); TextDrawColor(TelaLogin[3], -16776961); TextDrawBackgroundColor(TelaLogin[3], 255); TextDrawBoxColor(TelaLogin[3], 50); TextDrawUseBox(TelaLogin[3], 1); TextDrawSetProportional(TelaLogin[3], 1); TextDrawSetSelectable(TelaLogin[3], 0);
TelaLogin[4] = TextDrawCreate(-98.000000, -69.000000, "ld_beat:chit"); TextDrawFont(TelaLogin[4], 4); TextDrawLetterSize(TelaLogin[4], 0.600000, 2.000000); TextDrawTextSize(TelaLogin[4], 256.000000, 244.000000); TextDrawSetOutline(TelaLogin[4], 1); TextDrawSetShadow(TelaLogin[4], 0); TextDrawAlignment(TelaLogin[4], 1); TextDrawColor(TelaLogin[4], 65535); TextDrawBackgroundColor(TelaLogin[4], 255); TextDrawBoxColor(TelaLogin[4], 50); TextDrawUseBox(TelaLogin[4], 1); TextDrawSetProportional(TelaLogin[4], 1); TextDrawSetSelectable(TelaLogin[4], 0);
TelaLogin[5] = TextDrawCreate(475.000000, 279.000000, "ld_beat:chit"); TextDrawFont(TelaLogin[5], 4); TextDrawLetterSize(TelaLogin[5], 0.600000, 2.000000); TextDrawTextSize(TelaLogin[5], 256.000000, 244.000000); TextDrawSetOutline(TelaLogin[5], 1); TextDrawSetShadow(TelaLogin[5], 0); TextDrawAlignment(TelaLogin[5], 1); TextDrawColor(TelaLogin[5], 65535); TextDrawBackgroundColor(TelaLogin[5], 255); TextDrawBoxColor(TelaLogin[5], 50); TextDrawUseBox(TelaLogin[5], 1); TextDrawSetProportional(TelaLogin[5], 1); TextDrawSetSelectable(TelaLogin[5], 0);
TelaLogin[6] = TextDrawCreate(298.000000, 310.000000, "CARREGANDO..."); TextDrawFont(TelaLogin[6], 1); TextDrawLetterSize(TelaLogin[6], 0.245832, 1.350000); TextDrawTextSize(TelaLogin[6], 400.000000, 17.000000); TextDrawSetOutline(TelaLogin[6], 1); TextDrawSetShadow(TelaLogin[6], 0); TextDrawAlignment(TelaLogin[6], 1); TextDrawColor(TelaLogin[6], -1); TextDrawBackgroundColor(TelaLogin[6], 255); TextDrawBoxColor(TelaLogin[6], 50); TextDrawUseBox(TelaLogin[6], 1); TextDrawSetProportional(TelaLogin[6], 1); TextDrawSetSelectable(TelaLogin[6], 0);
return 1; }
public OnFilterScriptExit() { TextDrawDestroy(TelaLogin[0]); TextDrawDestroy(TelaLogin[1]); TextDrawDestroy(TelaLogin[2]); TextDrawDestroy(TelaLogin[3]); TextDrawDestroy(TelaLogin[4]); TextDrawDestroy(TelaLogin[5]); TextDrawDestroy(TelaLogin[6]); return 1; }
public OnPlayerConnect(playerid) { PlayerProgressBar[playerid][0] = CreatePlayerProgressBar(playerid, 160.000000, 292.000000, 331.500000, 14.500000, 65484, 100.000000, 0); SetPlayerProgressBarValue(playerid, PlayerProgressBar[playerid][0], 50.000000);
return 1; }
public OnPlayerDisconnect(playerid, reason) { DestroyPlayerProgressBar(playerid, PlayerProgressBar[playerid][0]); return 1; }
public OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp(cmdtext, "/tdtest", true)) { TextDrawShowForPlayer(playerid, TelaLogin[0]); TextDrawShowForPlayer(playerid, TelaLogin[1]); TextDrawShowForPlayer(playerid, TelaLogin[2]); TextDrawShowForPlayer(playerid, TelaLogin[3]); TextDrawShowForPlayer(playerid, TelaLogin[4]); TextDrawShowForPlayer(playerid, TelaLogin[5]); TextDrawShowForPlayer(playerid, TelaLogin[6]); ShowPlayerProgressBar(playerid, PlayerProgressBar[playerid][0]); return 1; } return 0; }
Quando eu estava começando no samp sempre dava isso cmg, esse parou de funcionar é o seu cod, não vai adiantar nada atulizar includes e tals isso ocorre quando alguma chave não foi fechada ou quando esquece de finalizar algum cod.. Revisa as adições recentes que você vai encontrar e como são muitas coisas que deve está errada pode parar de funcionar mesmo!
|