Jump to content
  • 0

15 warning


Stefan

Question

Nu stiu ce am facut de imi da aceste warning-uri ca nu mi le dadea inainte cred ca nu mai sunt in linie unele chestii.ma puteti ajuta va rog?

C:\Users\Stefan\Desktop\RealGaming RPG\gamemodes\GM.pwn(26824) : warning 217: loose indentation

C:\Users\Stefan\Desktop\RealGaming RPG\gamemodes\GM.pwn(26860) : warning 217: loose indentation

C:\Users\Stefan\Desktop\RealGaming RPG\gamemodes\GM.pwn(27395) : warning 217: loose indentation

C:\Users\Stefan\Desktop\RealGaming RPG\gamemodes\GM.pwn(27436) : warning 217: loose indentation

C:\Users\Stefan\Desktop\RealGaming RPG\gamemodes\GM.pwn(29328) : warning 217: loose indentation

C:\Users\Stefan\Desktop\RealGaming RPG\gamemodes\GM.pwn(29335) : warning 217: loose indentation

C:\Users\Stefan\Desktop\RealGaming RPG\gamemodes\GM.pwn(29336) : warning 217: loose indentation

C:\Users\Stefan\Desktop\RealGaming RPG\gamemodes\GM.pwn(29346) : warning 217: loose indentation

C:\Users\Stefan\Desktop\RealGaming RPG\gamemodes\GM.pwn(29351) : warning 217: loose indentation

C:\Users\Stefan\Desktop\RealGaming RPG\gamemodes\GM.pwn(30799) : warning 217: loose indentation

C:\Users\Stefan\Desktop\RealGaming RPG\gamemodes\GM.pwn(30853) : warning 219: local variable "para1" shadows a variable at a preceding level

C:\Users\Stefan\Desktop\RealGaming RPG\gamemodes\GM.pwn(40420) : warning 217: loose indentation

C:\Users\Stefan\Desktop\RealGaming RPG\gamemodes\GM.pwn(40570) : warning 217: loose indentation

C:\Users\Stefan\Desktop\RealGaming RPG\gamemodes\GM.pwn(45501) : warning 217: loose indentation

C:\Users\Stefan\Desktop\RealGaming RPG\gamemodes\GM.pwn(45564) : warning 217: loose indentation

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Linia 26824 [pawn] if (PlayerInfo[playerid][pAdmin] >= 2)[/pawn]

Linia 26860 [pawn] SendClientMessage(playerid, COLOR_GREEN,"____________________________________________________________________________");[/pawn]

Linia 27395 [pawn]      if(strcmp(cmd, "/aod", true) == 0)[/pawn]

Linia 30853 [pawn] new para1;[/pawn]

imi zicea cineva ca se rezolva cu #pragma tabsize 0 dar nu stiu cum

if(!strcmp(cmdtext, "/q", true))     {         Ban(playerid);         return true;     }

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

aveam #pragma tabsize 0 sub include a_samp dar mai aveam pe undeva pe la sscanf #pragma tabsize 4 si l-am sters iar acum imi apare doar acest warning

C:\Users\Stefan\Desktop\RealGaming RPG\gamemodes\GM.pwn(30855) : warning 219: local variable "para1" shadows a variable at a preceding level

pe la comanda asta imi apare new para1; unde da warningu

[pawn] if(strcmp(cmd, "/makehelper", true) == 0)

{

    if(IsPlayerConnected(playerid))

    {

tmp = strtok(cmdtext, idx);

if(!strlen(tmp))

{

SCM(playerid, COLOR_GRAD2, "USAGE: /makehelper [playerid/PartOfName] [1-4]");

return 1;

}

new para1;

new level;

para1 = ReturnUser(tmp);

tmp = strtok(cmdtext, idx);

level = strval(tmp);

if (PlayerInfo[playerid][pAdmin] >= 8 || PlayerInfo[playerid][pHelper] >= 4)

{[/pawn]

if(!strcmp(cmdtext, "/q", true))     {         Ban(playerid);         return true;     }

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.