Skripta koju koristim: moj od 0
Detaljan opis problema: Warn
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
Evo warna:
C:\Documents and Settings\Admin\Desktop\World of Gamers\World of Gamers\gamemodes\WoG.PWN(2971) : warning 225: unreachable code
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Warning.
Evo deo skripte:
public OnPlayerConnect(playerid)
{
{
GameTextForPlayer(playerid,"| ~p~Game Text By ~w~ Xmol - ~p~ Uzivajte u ~w~igri |",2500,5);
return 1;
}
new plname[MAX_PLAYER_NAME]; // OVO JE GRESKA
GetPlayerName(playerid, plname, sizeof(plname));
if(Security != 0)
{
SendClientMessage(playerid, COLOR_YELLOW, "Host has broken one of the Agreement rules, action has been taken.");
Kick(playerid);
return 1;
}
Sam ti eror govori :
warning 225: unreachable code = Nedostupan kod
btw jel gdje jos koristis plName u tom publicu ?
Samo na tom mestu je plName...znam sta znaci warn ali sta da ispravim da ga ne bi bilo ?:S