Problem(error/warning): Problem sa Brzinomerom link: https://pastebin.com/kAgkRyEs
Dio skripte: [ pawn ] / [ /pawn ]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ] / [ /code ]
Slika/video imas gore pastebin(brzinomer problem): Pomoć 😢
Problem sa Brzinomerom
1,062
pregleda
19
postova
19. Feb. 2019.
Pawn Code:
BRZINOMER = CreatePlayerTextdraw(playerid,511.199981, 309.866668, "_");
PlayerTextDrawLetterSize(BRZINOMER, 0.000000, 0.000000);
PlayerTextDrawTextSize(BRZINOMER, 93.600006, -1.493347);
PlayerTextDrawAlignment(BRZINOMER, 1);
PlayerTextDrawColor(BRZINOMER, 16711935);
PlayerTextDrawSetShadow(BRZINOMER, 0);
PlayerTextDrawSetOutline(BRZINOMER, 0);
PlayerTextDrawFont(BRZINOMER, 4);
BRZINOMER = CreatePlayerTextdraw(playerid,509.599975, 307.626678, "_");
PlayerTextDrawLetterSize(BRZINOMER, 0.000000, 0.000000);
PlayerTextDrawTextSize(BRZINOMER, 1.600006, 59.733306);
PlayerTextDrawAlignment(BRZINOMER, 1);
PlayerTextDrawColor(BRZINOMER, 16711935);
PlayerTextDrawSetShadow(BRZINOMER, 0);
PlayerTextDrawSetOutline(BRZINOMER, 0);
PlayerTextDrawFont(BRZINOMER, 4);
BRZINOMER = CreatePlayerTextdraw(playerid,512.000000, 309.866668, "_");
PlayerTextDrawLetterSize(BRZINOMER, 0.000000, 0.000000);
PlayerTextDrawTextSize(BRZINOMER, 92.799987, 56.000000);
PlayerTextDrawAlignment(BRZINOMER, 1);
PlayerTextDrawColor(BRZINOMER, 255);
PlayerTextDrawSetShadow(BRZINOMER, 0);
PlayerTextDrawSetOutline(BRZINOMER, 0);
PlayerTextDrawFont(BRZINOMER, 4);
BRZINOMER = CreatePlayerTextdraw(playerid,508.800018, 365.866668, "_");
PlayerTextDrawLetterSize(BRZINOMER, 0.000000, 0.000000);
PlayerTextDrawTextSize(BRZINOMER, 95.999969, 0.746673);
PlayerTextDrawAlignment(BRZINOMER, 1);
PlayerTextDrawColor(BRZINOMER, 16711935);
PlayerTextDrawSetShadow(BRZINOMER, 0);
PlayerTextDrawSetOutline(BRZINOMER, 0);
PlayerTextDrawFont(BRZINOMER, 4);
BRZINOMER = CreatePlayerTextdraw(playerid,604.000000, 308.373321, "_");
PlayerTextDrawLetterSize(BRZINOMER, 0.000000, 0.000000);
PlayerTextDrawTextSize(BRZINOMER, 0.799987, 58.986663);
PlayerTextDrawAlignment(BRZINOMER, 1);
PlayerTextDrawColor(BRZINOMER, 16711935);
PlayerTextDrawSetShadow(BRZINOMER, 0);
PlayerTextDrawSetOutline(BRZINOMER, 0);
PlayerTextDrawFont(BRZINOMER, 4);
BRZINOMER = CreatePlayerTextdraw(playerid,514.400024, 309.866607, "Brzina:0");
PlayerTextDrawLetterSize(BRZINOMER, 0.329999, 1.487999);
PlayerTextDrawAlignment(BRZINOMER, 1);
PlayerTextDrawColor(BRZINOMER, 16711935);
PlayerTextDrawSetShadow(BRZINOMER, 0);
PlayerTextDrawSetOutline(BRZINOMER, 1);
PlayerTextDrawBackgroundColor(BRZINOMER, 51);
PlayerTextDrawFont(BRZINOMER, 2);
PlayerTextDrawSetProportional(BRZINOMER, 1);
BRZINOMER = CreatePlayerTextdraw(playerid,510.400024, 335.253326, "_");
PlayerTextDrawLetterSize(BRZINOMER, 0.000000, 0.000000);
PlayerTextDrawTextSize(BRZINOMER, 93.599975, 0.746673);
PlayerTextDrawAlignment(BRZINOMER, 1);
PlayerTextDrawColor(BRZINOMER, 16711935);
PlayerTextDrawSetShadow(BRZINOMER, 0);
PlayerTextDrawSetOutline(BRZINOMER, 0);
PlayerTextDrawFont(BRZINOMER, 4);
BRZINOMER = CreatePlayerTextdraw(playerid,515.200012, 339.733367, "Gorivo:0L");
PlayerTextDrawLetterSize(BRZINOMER, 0.281999, 1.376000);
PlayerTextDrawAlignment(BRZINOMER, 1);
PlayerTextDrawColor(BRZINOMER, 16711935);
PlayerTextDrawSetShadow(BRZINOMER, 0);
PlayerTextDrawSetOutline(BRZINOMER, 1);
PlayerTextDrawBackgroundColor(BRZINOMER, 51);
PlayerTextDrawFont(BRZINOMER, 2);
PlayerTextDrawSetProportional(BRZINOMER, 1);
return 1;
}
BRZINOMER = CreatePlayerTextdraw(playerid,511.199981, 309.866668, "_");
PlayerTextDrawLetterSize(BRZINOMER, 0.000000, 0.000000);
PlayerTextDrawTextSize(BRZINOMER, 93.600006, -1.493347);
PlayerTextDrawAlignment(BRZINOMER, 1);
PlayerTextDrawColor(BRZINOMER, 16711935);
PlayerTextDrawSetShadow(BRZINOMER, 0);
PlayerTextDrawSetOutline(BRZINOMER, 0);
PlayerTextDrawFont(BRZINOMER, 4);
BRZINOMER = CreatePlayerTextdraw(playerid,509.599975, 307.626678, "_");
PlayerTextDrawLetterSize(BRZINOMER, 0.000000, 0.000000);
PlayerTextDrawTextSize(BRZINOMER, 1.600006, 59.733306);
PlayerTextDrawAlignment(BRZINOMER, 1);
PlayerTextDrawColor(BRZINOMER, 16711935);
PlayerTextDrawSetShadow(BRZINOMER, 0);
PlayerTextDrawSetOutline(BRZINOMER, 0);
PlayerTextDrawFont(BRZINOMER, 4);
BRZINOMER = CreatePlayerTextdraw(playerid,512.000000, 309.866668, "_");
PlayerTextDrawLetterSize(BRZINOMER, 0.000000, 0.000000);
PlayerTextDrawTextSize(BRZINOMER, 92.799987, 56.000000);
PlayerTextDrawAlignment(BRZINOMER, 1);
PlayerTextDrawColor(BRZINOMER, 255);
PlayerTextDrawSetShadow(BRZINOMER, 0);
PlayerTextDrawSetOutline(BRZINOMER, 0);
PlayerTextDrawFont(BRZINOMER, 4);
BRZINOMER = CreatePlayerTextdraw(playerid,508.800018, 365.866668, "_");
PlayerTextDrawLetterSize(BRZINOMER, 0.000000, 0.000000);
PlayerTextDrawTextSize(BRZINOMER, 95.999969, 0.746673);
PlayerTextDrawAlignment(BRZINOMER, 1);
PlayerTextDrawColor(BRZINOMER, 16711935);
PlayerTextDrawSetShadow(BRZINOMER, 0);
PlayerTextDrawSetOutline(BRZINOMER, 0);
PlayerTextDrawFont(BRZINOMER, 4);
BRZINOMER = CreatePlayerTextdraw(playerid,604.000000, 308.373321, "_");
PlayerTextDrawLetterSize(BRZINOMER, 0.000000, 0.000000);
PlayerTextDrawTextSize(BRZINOMER, 0.799987, 58.986663);
PlayerTextDrawAlignment(BRZINOMER, 1);
PlayerTextDrawColor(BRZINOMER, 16711935);
PlayerTextDrawSetShadow(BRZINOMER, 0);
PlayerTextDrawSetOutline(BRZINOMER, 0);
PlayerTextDrawFont(BRZINOMER, 4);
BRZINOMER = CreatePlayerTextdraw(playerid,514.400024, 309.866607, "Brzina:0");
PlayerTextDrawLetterSize(BRZINOMER, 0.329999, 1.487999);
PlayerTextDrawAlignment(BRZINOMER, 1);
PlayerTextDrawColor(BRZINOMER, 16711935);
PlayerTextDrawSetShadow(BRZINOMER, 0);
PlayerTextDrawSetOutline(BRZINOMER, 1);
PlayerTextDrawBackgroundColor(BRZINOMER, 51);
PlayerTextDrawFont(BRZINOMER, 2);
PlayerTextDrawSetProportional(BRZINOMER, 1);
BRZINOMER = CreatePlayerTextdraw(playerid,510.400024, 335.253326, "_");
PlayerTextDrawLetterSize(BRZINOMER, 0.000000, 0.000000);
PlayerTextDrawTextSize(BRZINOMER, 93.599975, 0.746673);
PlayerTextDrawAlignment(BRZINOMER, 1);
PlayerTextDrawColor(BRZINOMER, 16711935);
PlayerTextDrawSetShadow(BRZINOMER, 0);
PlayerTextDrawSetOutline(BRZINOMER, 0);
PlayerTextDrawFont(BRZINOMER, 4);
BRZINOMER = CreatePlayerTextdraw(playerid,515.200012, 339.733367, "Gorivo:0L");
PlayerTextDrawLetterSize(BRZINOMER, 0.281999, 1.376000);
PlayerTextDrawAlignment(BRZINOMER, 1);
PlayerTextDrawColor(BRZINOMER, 16711935);
PlayerTextDrawSetShadow(BRZINOMER, 0);
PlayerTextDrawSetOutline(BRZINOMER, 1);
PlayerTextDrawBackgroundColor(BRZINOMER, 51);
PlayerTextDrawFont(BRZINOMER, 2);
PlayerTextDrawSetProportional(BRZINOMER, 1);
return 1;
}
19. Feb. 2019.
mozete pomoci kako da ovo rijesim pola sam rijesio sad imam 6 errora
C:\Users\win81\Desktop\GAMEMODE\School Project\gamemodes\school project.pwn(19314) : error 035: argument type mismatch (argument 2)
C:\Users\win81\Desktop\GAMEMODE\School Project\gamemodes\school project.pwn(24934) : error 035: argument type mismatch (argument 2)
C:\Users\win81\Desktop\GAMEMODE\School Project\gamemodes\school project.pwn(25617) : error 035: argument type mismatch (argument 2)
C:\Users\win81\Desktop\GAMEMODE\School Project\gamemodes\school project.pwn(25617 -- 2561😎 : error 035: argument type mismatch (argument 2)
C:\Users\win81\Desktop\GAMEMODE\School Project\gamemodes\school project.pwn(2561😎 : error 035: argument type mismatch (argument 2)
C:\Users\win81\Desktop\GAMEMODE\School Project\gamemodes\school project.pwn(2561😎 : fatal error 107: too many error messages on one line
problemi:
PlayerTextDrawSetString(playerid, BRZINOMER, string);
-------------------------------------------------------------------------
PlayerTextDrawSetString(playerid, BRZINOMER, string);
-------------------------------------------------------------------------
if(oldstate-1 && newstate) PlayerTextDrawHide(playerid, BRZINOMER else if(newstate == PLAYER_STATE_DRIVER) PlayerTextDrawShow(playerid, BRZINOMER
----------------------------------------------------------
if(oldstate-1 && newstate) PlayerTextDrawHide(playerid, BRZINOMER else if(newstate == PLAYER_STATE_DRIVER) PlayerTextDrawShow(playerid, BRZINOMER
C:\Users\win81\Desktop\GAMEMODE\School Project\gamemodes\school project.pwn(19314) : error 035: argument type mismatch (argument 2)
C:\Users\win81\Desktop\GAMEMODE\School Project\gamemodes\school project.pwn(24934) : error 035: argument type mismatch (argument 2)
C:\Users\win81\Desktop\GAMEMODE\School Project\gamemodes\school project.pwn(25617) : error 035: argument type mismatch (argument 2)
C:\Users\win81\Desktop\GAMEMODE\School Project\gamemodes\school project.pwn(25617 -- 2561😎 : error 035: argument type mismatch (argument 2)
C:\Users\win81\Desktop\GAMEMODE\School Project\gamemodes\school project.pwn(2561😎 : error 035: argument type mismatch (argument 2)
C:\Users\win81\Desktop\GAMEMODE\School Project\gamemodes\school project.pwn(2561😎 : fatal error 107: too many error messages on one line
problemi:
PlayerTextDrawSetString(playerid, BRZINOMER, string);
-------------------------------------------------------------------------
PlayerTextDrawSetString(playerid, BRZINOMER, string);
-------------------------------------------------------------------------
if(oldstate-1 && newstate) PlayerTextDrawHide(playerid, BRZINOMER else if(newstate == PLAYER_STATE_DRIVER) PlayerTextDrawShow(playerid, BRZINOMER
----------------------------------------------------------
if(oldstate-1 && newstate) PlayerTextDrawHide(playerid, BRZINOMER else if(newstate == PLAYER_STATE_DRIVER) PlayerTextDrawShow(playerid, BRZINOMER
19. Feb. 2019.
https://wiki.sa-mp.com/wiki/PlayerTextDrawSetString
https://wiki.sa-mp.com/wiki/PlayerTextDrawHide
top bi trebalo da ti pomogne 😄
https://wiki.sa-mp.com/wiki/PlayerTextDrawHide
top bi trebalo da ti pomogne 😄
19. Feb. 2019.
@Ghetoven
if(oldstate-1 && newstate) PlayerTextDrawHide(playerid, BRZINOMER else if(newstate == PLAYER_STATE_DRIVER) PlayerTextDrawShow(playerid, BRZINOMER
if(oldstate-1 && newstate) PlayerTextDrawHide(playerid, BRZINOMER else if(newstate == PLAYER_STATE_DRIVER) PlayerTextDrawShow(playerid, BRZINOMER
if(oldstate-1 && newstate) PlayerTextDrawHide(playerid, BRZINOMER else if(newstate == PLAYER_STATE_DRIVER) PlayerTextDrawShow(playerid, BRZINOMER
if(oldstate-1 && newstate) PlayerTextDrawHide(playerid, BRZINOMER else if(newstate == PLAYER_STATE_DRIVER) PlayerTextDrawShow(playerid, BRZINOMER, format(string, sizeof(string), "Gorivo %d", Gorivo[GetPlayerVehicleID(playerid)]), PlayerTextDrawSetString(playerid, BRZINOMER, string);
if(oldstate-1 && newstate) PlayerTextDrawHide(playerid, BRZINOMER
mozes mi ovo slozit mislim sredit to mi samo fali? izvini sto te zamaram.
if(oldstate-1 && newstate) PlayerTextDrawHide(playerid, BRZINOMER else if(newstate == PLAYER_STATE_DRIVER) PlayerTextDrawShow(playerid, BRZINOMER
if(oldstate-1 && newstate) PlayerTextDrawHide(playerid, BRZINOMER else if(newstate == PLAYER_STATE_DRIVER) PlayerTextDrawShow(playerid, BRZINOMER
if(oldstate-1 && newstate) PlayerTextDrawHide(playerid, BRZINOMER else if(newstate == PLAYER_STATE_DRIVER) PlayerTextDrawShow(playerid, BRZINOMER
if(oldstate-1 && newstate) PlayerTextDrawHide(playerid, BRZINOMER else if(newstate == PLAYER_STATE_DRIVER) PlayerTextDrawShow(playerid, BRZINOMER, format(string, sizeof(string), "Gorivo %d", Gorivo[GetPlayerVehicleID(playerid)]), PlayerTextDrawSetString(playerid, BRZINOMER, string);
if(oldstate-1 && newstate) PlayerTextDrawHide(playerid, BRZINOMER
mozes mi ovo slozit mislim sredit to mi samo fali? izvini sto te zamaram.
20. Feb. 2019.
@.agency
Errori:
C:\Users\win81\Desktop\GAMEMODE\School Project\gamemodes\school project.pwn(15970) : warning 202: number of arguments does not match definition
C:\Users\win81\Desktop\GAMEMODE\School Project\gamemodes\school project.pwn(17489) : warning 217: loose indentation
C:\Users\win81\Desktop\GAMEMODE\School Project\gamemodes\school project.pwn(19314) : error 017: undefined symbol "i"
C:\Users\win81\Desktop\GAMEMODE\School Project\gamemodes\school project.pwn(21323) : warning 217: loose indentation
C:\Users\win81\Desktop\GAMEMODE\School Project\gamemodes\school project.pwn(24934) : error 017: undefined symbol "i"
C:\Users\win81\Desktop\GAMEMODE\School Project\gamemodes\school project.pwn(25616) : error 035: argument type mismatch (argument 2)
C:\Users\win81\Desktop\GAMEMODE\School Project\gamemodes\school project.pwn(25616 -- 25617) : error 035: argument type mismatch (argument 2)
C:\Users\win81\Desktop\GAMEMODE\School Project\gamemodes\school project.pwn(25617) : error 035: argument type mismatch (argument 2)
C:\Users\win81\Desktop\GAMEMODE\School Project\gamemodes\school project.pwn(25617) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Errori:
C:\Users\win81\Desktop\GAMEMODE\School Project\gamemodes\school project.pwn(15970) : warning 202: number of arguments does not match definition
C:\Users\win81\Desktop\GAMEMODE\School Project\gamemodes\school project.pwn(17489) : warning 217: loose indentation
C:\Users\win81\Desktop\GAMEMODE\School Project\gamemodes\school project.pwn(19314) : error 017: undefined symbol "i"
C:\Users\win81\Desktop\GAMEMODE\School Project\gamemodes\school project.pwn(21323) : warning 217: loose indentation
C:\Users\win81\Desktop\GAMEMODE\School Project\gamemodes\school project.pwn(24934) : error 017: undefined symbol "i"
C:\Users\win81\Desktop\GAMEMODE\School Project\gamemodes\school project.pwn(25616) : error 035: argument type mismatch (argument 2)
C:\Users\win81\Desktop\GAMEMODE\School Project\gamemodes\school project.pwn(25616 -- 25617) : error 035: argument type mismatch (argument 2)
C:\Users\win81\Desktop\GAMEMODE\School Project\gamemodes\school project.pwn(25617) : error 035: argument type mismatch (argument 2)
C:\Users\win81\Desktop\GAMEMODE\School Project\gamemodes\school project.pwn(25617) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava