[help] How fix this warning? [AGIAN] ;sigh; - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [help] How fix this warning? [AGIAN] ;sigh; (
/showthread.php?tid=121257)
[help] How fix this warning? [AGIAN] ;sigh; -
dclaw - 16.01.2010
Who can fix this warning?
Код:
C:\Users\Mike\Desktop\Night Life Roleplay\gamemodes\SFFB.pwn(390) : warning 225: unreachable code
Line's
Код:
line 390: if (!strcmp("/home", cmdtext, true))
line 391: SetPlayerPos(playerid,-2461.3486,1399.6747,7.4893);
line 392: return 1;
line 393: }
Re: [help] How fix this warning? [AGIAN] ;sigh; -
kLx - 16.01.2010
Quote:
if (!strcmp("/home", cmdtext, true))
{
|
Use this.
Re: [help] How fix this warning? [AGIAN] ;sigh; -
[HiC]TheKiller - 16.01.2010
Whats before line 390?
Re: [help] How fix this warning? [AGIAN] ;sigh; -
dclaw - 16.01.2010
Quote:
Originally Posted by [HiC
TheKiller ]
Whats before line 390?
|
another command
Re: [help] How fix this warning? [AGIAN] ;sigh; -
MadeMan - 16.01.2010
Quote:
Originally Posted by dclaw
Quote:
Originally Posted by [HiC
TheKiller ]
Whats before line 390?
|
another command
|
Show the code of that command.
Re: [help] How fix this warning? [AGIAN] ;sigh; -
bajskorv123 - 16.01.2010
Use this
Код:
if (!strcmp("/home", cmdtext, true))
{
SetPlayerPos(playerid,-2461.3486,1399.6747,7.4893);
return 1;
}
Also, show the lines before 390..
Re: [help] How fix this warning? [AGIAN] ;sigh; -
dclaw - 16.01.2010
Quote:
Originally Posted by [NWA
Hannes ]
Use this
Код:
if (!strcmp("/home", cmdtext, true))
{
SetPlayerPos(playerid,-2461.3486,1399.6747,7.4893);
return 1;
}
Also, show the lines before 390..
|
Fixed already