case DIALOG_TUTORIAL: { if(!response) return Kick(playerid); if(response) { if(response == 0) { SetTimerEx("KickTime", 1000, false, "i", playerid); } if(response == 1) { new string[248]; strcat(string,""COL_WHITE"Zelite li pogledati mali tutorial o serveru?\n"); strcat(string,""COL_GREEN"*"COL_WHITE"Ako ste novi igrac preporucujemo vam da pogledate tutorial.\n"); strcat(string,""COL_RED"*"COL_WHITE"Ako pogledate tutorial, dobivate bonus od 500$.\n"); ShowPlayerDialog(playerid,DIALOG_REGPLAYER,DIALOG_STYLE_MSGBOX,""COL_ORANGE"TUTORIAL",string,"Da","Ne"); } } } case DIALOG_REGPLAYER: { if(!response) return Kick(playerid); if(response) { if(response == 1) { StopAudioStreamForPlayer(playerid); ClearSomeText(playerid); timerregtut1[playerid] = SetTimerEx("RegTut1", 1000, false, "i", playerid); GivePlayerCash(playerid, 500); } else if(response == 0) { StopAudioStreamForPlayer(playerid); ClearSomeText(playerid); InterpolateCameraPos(playerid, 1401.052246, -1379.372192, 597.450561, 1413.083007, -901.856750, 171.654861, 7000); InterpolateCameraLookAt(playerid, 1401.146240, -1375.640991, 594.123474, 1413.177001, -898.125549, 168.327789, 1000); SetPlayerPos(playerid, 1401.052246, -1379.372192, 597.450561); TextDrawShowForPlayer(playerid,TextdrawRTW0); TextDrawShowForPlayer(playerid,TextdrawRTW1); TextDrawShowForPlayer(playerid,TextdrawRTW2); TextDrawShowForPlayer(playerid,TextdrawRTW3); TextDrawShowForPlayer(playerid,TextdrawRTW4); TextDrawShowForPlayer(playerid,TextdrawRTW5); TextDrawShowForPlayer(playerid,TextdrawRTW6); timerregtut21[playerid] = SetTimerEx("REGTIME", 7500, false, "i", playerid); } } }
case DIALOG_TUTORIAL:
{
if(!response) return Kick(playerid); //Remove this
If I understood correctly you want to make it so if player clicks Ne he doesnt get kicked? If so just remove
pawn Код:
|
Tell us what you want to do and we will help. If you want to remove kick on !response do what @TwinkiDaBoss said.
|