What's the problem? else
#1

I don't see anything wrong here.

Код:
CMD:stearth(playerid, params[])
{
 if(IsPlayerAdmin(playerid))
 {
   SendClientMessage(playerid, -1, "{00CC00}[SUCCESS]: You have stopped the earthquake.");
   DestroyObject(playerid);
   SetPlayerDrunkLevel(playerid, 0);
   StopAudioStreamForPlayer(playerid);
 }
 else
 {
   SendClientMessage(playerid, -1, "{FF0000}ERROR: No earthquake going on now.");
 }
 else //<<<  error 029: invalid expression, assumed zero
 {
   SendClientMessage(playerid, -1, "{FF0000}Only rcon admins can use this command!");
 }
 return 1;
}
Reply


Messages In This Thread
What's the problem? else - by Glossy42O - 18.12.2014, 06:04
AW: What's the problem? else - by Flori - 18.12.2014, 06:07
Re: What's the problem? else - by JeaSon - 18.12.2014, 06:17
Re: What's the problem? else - by Glossy42O - 18.12.2014, 06:30
Re: What's the problem? else - by Ada32 - 18.12.2014, 11:56
Re: What's the problem? else - by Glossy42O - 18.12.2014, 12:19
Re: What's the problem? else - by Ada32 - 18.12.2014, 12:28
Re: What's the problem? else - by BroZeus - 18.12.2014, 12:56
Re: What's the problem? else - by Kyance - 18.12.2014, 13:18
Re: What's the problem? else - by BroZeus - 18.12.2014, 14:14

Forum Jump:


Users browsing this thread: 1 Guest(s)