14.08.2014, 21:52
PHP код:
case DIALOG_SHOUT:
{
if(response)
{
switch(listitem)
{
case 0:
{
if(pInfo[playerid][pDeaths] <= 0)// the line is this.
SetPlayerAttachedObject( playerid, 0, 19078, 1, 0.337255, -0.102219, -0.170282, 0.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000 ); else { SendXPError(playerid,0);
}
/*case 1: format(shoutstring,sizeof(shoutstring),""chat""COL_LIGHTBLUE" %s Shouts BOOMER INCOMING!",PlayerName(playerid)), SendHMessage(shoutstring,-1);
case 2: format(shoutstring,sizeof(shoutstring),""chat""COL_LIGHTBLUE" %s Shouts SCREAMER INCOMING!",PlayerName(playerid)), SendHMessage(shoutstring,-1);
case 3: format(shoutstring,sizeof(shoutstring),""chat""COL_LIGHTBLUE" %s Shouts STOMPER INCOMING!",PlayerName(playerid)), SendHMessage(shoutstring,-1);
case 4: format(shoutstring,sizeof(shoutstring),""chat""COL_LIGHTBLUE" %s Shouts it's clear!",PlayerName(playerid)), SendHMessage(shoutstring,-1);
case 5: format(shoutstring,sizeof(shoutstring),""chat""COL_LIGHTBLUE" %s Shouts Zombies Nearby!",PlayerName(playerid)), SendHMessage(shoutstring,-1);
case 6: format(shoutstring,sizeof(shoutstring),""chat""COL_LIGHTBLUE" %s Shouts ZOMBIES INCOMING!",PlayerName(playerid)), SendHMessage(shoutstring,-1);
case 7: format(shoutstring,sizeof(shoutstring),""chat""COL_LIGHTBLUE" %s Shouts Need assistance!",PlayerName(playerid)), SendHMessage(shoutstring,-1);
case 8: format(shoutstring,sizeof(shoutstring),""chat""COL_LIGHTBLUE" %s Shouts Need backup!",PlayerName(playerid)), SendHMessage(shoutstring,-1);
case 9: format(shoutstring,sizeof(shoutstring),""chat""COL_LIGHTBLUE" %s Shouts Ghost Incoming!!",PlayerName(playerid)), SendHMessage(shoutstring,-1);*/
}
}
}
PHP код:
C:\Users\Arlindi\Desktop\fsdf - Copy - Copy\gamemodes\zma4.pwn(1621) : warning 217: loose indentation
C:\Users\Arlindi\Desktop\fsdf - Copy - Copy\gamemodes\zma4.pwn(1621) : error 014: invalid statement; not in switch
C:\Users\Arlindi\Desktop\fsdf - Copy - Copy\gamemodes\zma4.pwn(1621) : warning 215: expression has no effect
C:\Users\Arlindi\Desktop\fsdf - Copy - Copy\gamemodes\zma4.pwn(1621) : error 001: expected token: ";", but found ":"
C:\Users\Arlindi\Desktop\fsdf - Copy - Copy\gamemodes\zma4.pwn(1621) : error 029: invalid expression, assumed zero
C:\Users\Arlindi\Desktop\fsdf - Copy - Copy\gamemodes\zma4.pwn(1621) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.