I need help [warning 225: unreachable code]
#1

I'm having trouble with this code, Please help me, I'm Thank
[warning 225: unreachable code]
PHP код:
if(PlayerInfo[playerid][pCash] < money) return SendClientMessageEx(playerid, -1"Ban khong du so tien do de moi dau sung");
if(
PlayerInfo[giveplayerid][pCash] < money) return SendClientMessageEx(playerid, -1"Nguoi do khong co du so tien de dau sung");
if(
strcmp(sung"deagle"true) == 0) return weaponid 24;
else if(
strcmp(sung"Shotgun"true) == 0) return weaponid 25;
else return 
SendClientMessageEx(playeridCOLOR_GREY"Sai ten vu khi");
duel[playerid] = giveplayeridmoneyduel[playerid] = moneyweaponduel[playerid] = weaponid;
duel[giveplayerid] = playeridmoneyduel[giveplayerid] = moneyweaponduel[giveplayerid] = weaponid;
new 
string[255];
format(stringsizeof(string), "[DAU SUNG]: Ban da moi %s tham gia dau sung voi $%d, vu khi: %s"GetPlayerNameEx(giveplayerid),money,sung);
SendClientMessageEx(playerid, -1string);
        
format(stringsizeof(string), "[DAU SUNG]: %s da moi ban tham gia dau sung voi $%d, vu khi: %s"GetPlayerNameEx(playerid),money,sung);
SendClientMessageEx(giveplayerid, -1string);
SetPVarInt(giveplayerid"moidausung"1); 
Error it informs this paragraph

duel[playerid] = giveplayerid, moneyduel[playerid] = money, weaponduel[playerid] = weaponid;
Reply


Messages In This Thread
I need help [warning 225: unreachable code] - by WilliamVN - 23.07.2018, 15:43
Re: I need help [warning 225: unreachable code] - by Florin48 - 23.07.2018, 16:45
Re: I need help [warning 225: unreachable code] - by WilliamVN - 24.07.2018, 01:29
Re: I need help [warning 225: unreachable code] - by coool - 24.07.2018, 06:36

Forum Jump:


Users browsing this thread: 2 Guest(s)