- 0
lose indentitation
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
impulse81
salutare and dau compile la gm primesc aceste warnuri!:
[pawn]F:\Metin12\SAmp\GM MEU\GM Xtr-Zone\gamemodes\Teddy23.pwn(61902) : warning 217: loose indentation
F:\Metin12\SAmp\GM MEU\GM Xtr-Zone\gamemodes\Teddy23.pwn(61904) : warning 219: local variable "idx" shadows a variable at a preceding level
F:\Metin12\SAmp\GM MEU\GM Xtr-Zone\gamemodes\Teddy23.pwn(62070) : warning 217: loose indentation
F:\Metin12\SAmp\GM MEU\GM Xtr-Zone\gamemodes\Teddy23.pwn(62109) : warning 217: loose indentation[/pawn]
[pawn] return 0;
}
}
if(DMVT[playerid] > 0) //61902
{
new idx; // 61904
tmp = strtok(text, idx);
if(DMVT[playerid] == 1)
{
if ((strcmp("A", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("A")))
{
SendClientMessage(playerid, COLOR_LIGHTRED, " Raspuns gresit. Ai picat testul !");
DMVT[playerid] = 0;
TogglePlayerControllable(playerid, 1);
return 0;
}
else if ((strcmp("B", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("B")))
{
SendClientMessage(playerid, COLOR_LIGHTRED, " Raspuns gresit. Ai picat testul !");
DMVT[playerid] = 0;
TogglePlayerControllable(playerid, 1);
return 0;
}[/pawn]
[pawn] SendClientMessage(playerid, COLOR_YELLOW2, " D: Cand este o coada imensa in fata mea si nu vreau sa astept. ");
}
}
}
if(Mobile[playerid] == 912) //62070
{
if(!strlen(tmp))
{
SCM(playerid, COLOR_ALLDEPT, "EMERGENCY: Sorry i dont understand?");
return 0;
}
strmid(PlayerCrime[playerid][pAccusing], text, 0, strlen(text), 255);
SCM(playerid, COLOR_DBLUE, "Police HQ: If you know the assailant's name or part of it say it now or just say no.");
Mobile[playerid] = 913;
return 0;
}[/pawn]
[pawn] {
SCM(playerid, COLOR_ALLDEPT, "EMERGENCY: Sorry i dont understand, police or paramedic?");
return 0;
}
}
if(IsPlayerConnected(Mobile[playerid])) //62109
{
if(Mobile[Mobile[playerid]] == playerid)
{
SCM(Mobile[playerid], COLOR_YELLOW,string);
}
}
else
{
SCM(playerid, COLOR_YELLOW,"Theres nobody there");
}[/pawn]
3 answers to this question
Recommended Posts