Problem(error/warning): ubacivao sam altchat i desi mi se ovi erori warnizi
C:\Users\ilicb\Desktop\Balkan North By Ajfon\Balkan North By Ajfon\gamemodes\ATH.pwn(7387) : warning 219: local variable "Text" shadows a variable at a preceding level
C:\Users\ilicb\Desktop\Balkan North By Ajfon\Balkan North By Ajfon\gamemodes\ATH.pwn(7390) : error 035: argument type mismatch (argument 1)
C:\Users\ilicb\Desktop\Balkan North By Ajfon\Balkan North By Ajfon\gamemodes\ATH.pwn(7393) : error 035: argument type mismatch (argument 3)
C:\Users\ilicb\Desktop\Balkan North By Ajfon\Balkan North By Ajfon\gamemodes\ATH.pwn(7387) : warning 204: symbol is assigned a value that is never used: "Text"
C:\Users\ilicb\Desktop\Balkan North By Ajfon\Balkan North By Ajfon\gamemodes\ATH.pwn(30511) : warning 217: loose indentation
dole ce biti linije na koima je erori
Dio skripte:pwn
Pawno Code:
[ pawn ]7387 new Text;[ /pawn ]
[ pawn ]7390 strcat(Text,"~n~_");[ /pawn ]
[ pawn ]7393 RetSprite = TextDrawCreate(X, Y, Text);[ /pawn ]
ceo deo skripte
[ pawn ]{
new Text;
for(new i=floatround(Y); i < floatround(Y+Height);i++)
{
strcat(Text,"~n~_");
}
new Text:RetSprite;
RetSprite = TextDrawCreate(X, Y, Text); // Text is txdfile:texture
TextDrawFont(RetSprite, 0); // Font ID 4 is the sprite draw font
TextDrawColor(RetSprite,0xFFFFFFFF);
TextDrawTextSize(RetSprite,Width+X,Height+Y); // Text size is the Width:Height
TextDrawUseBox(RetSprite,1);
TextDrawBoxColor(RetSprite,color);
TextDrawLetterSize(RetSprite,0.0001,0.115😎;
return RetSprite;
}[ pawn ]
Linija 30511
SetPlayerColor( playerid, 0xFFFFFF00 );
Alt-chat 2erora 3warniga
354
pregleda
1
postova
25. Avg. 2018.
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava