15.08.2014, 02:29
Код:
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);*/ } } }