how to skip tutorial ?
#1

Hello ,
I have a NGRP script and I want to add a command /skiptut for those who want to skip tutorial .
Can anyone help me please ?
Reply
#2

Quote:
Originally Posted by Leo Karls
Посмотреть сообщение
Hello ,
I have an illegally leaked script which will get my server blacklisted would I use it, but I still expect to get help.
Fixed
Reply
#3

You could just simply remove the whole tutorial text and boxes, then keep the /next.
Reply
#4

pawn Код:
if(strcmp(cmd, "/skiptut", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            if(TutTime[playerid] <= 0) return SendClientMessage(playerid,COLOR_GREY,"You are not in the tutorial!");
            CanTalk[playerid] = 1;
            TutTime[playerid] = 0;
            PlayerInfo[playerid][pSafeSpawn] = 1;
            PlayerInfo[playerid][pTut] = 1;
            gOoc[playerid] = 0; gNewbie[playerid] = 0; gNews[playerid] = 0; gFam[playerid] = 0;
            TogglePlayerControllable(playerid, 1);
            PlayerInfo[playerid][pHealth] = 100;
            PlayerInfo[playerid][pArmor] = 0;
            SetPlayerSpawn(playerid);
            StopAudioStreamForPlayer(playerid);
            SendClientMessage(playerid, COLOR_LIGHTBLUE, "You skipped the tutorial.");
        }
        return 1;
    }
Reply
#5

Quote:
Originally Posted by Infinity
Посмотреть сообщение
Fixed
haha
Reply
#6

And where you add this code?

if(strcmp(cmd, "/skiptut", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(TutTime[playerid] <= 0) return SendClientMessage(playerid,COLOR_GREY,"You are not in the tutorial!");
CanTalk[playerid] = 1;
TutTime[playerid] = 0;
PlayerInfo[playerid][pSafeSpawn] = 1;
PlayerInfo[playerid][pTut] = 1;
gOoc[playerid] = 0; gNewbie[playerid] = 0; gNews[playerid] = 0; gFam[playerid] = 0;
TogglePlayerControllable(playerid, 1);
PlayerInfo[playerid][pHealth] = 100;
PlayerInfo[playerid][pArmor] = 0;
SetPlayerSpawn(playerid);
StopAudioStreamForPlayer(playerid);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "You skipped the tutorial.");
}
return 1;
}
Reply
#7

Seems a bit off to ban him, it's NG's fault their script was leaked and the owner makes so much money from it that he couldn't give a rats ass... and didn't NGRP DDoS this forum once?
Reply
#8

Quote:
Originally Posted by Coltmaster
Посмотреть сообщение
Seems a bit off to ban him, it's NG's fault their script was leaked and the owner makes so much money from it that he couldn't give a rats ass... and didn't NGRP DDoS this forum once?
This post was made over a year ago. It was bumped by the person before you because they needed help. Why must you make such huge assumptions? Who says the OP was banned for this post? And even if this topic was made today there could be a million reasons that he was banned. AND most importantly: what on Earth does it have to do with you?! Who are you to question the decisions of the admins? Come on man, stop being annoying and getting into everyone's business, just live your own damn life!
Reply
#9

Quote:
Originally Posted by Potassium
Посмотреть сообщение
This post was made over a year ago. It was bumped by the person before you because they needed help. Why must you make such huge assumptions? Who says the OP was banned for this post? And even if this topic was made today there could be a million reasons that he was banned. AND most importantly: what on Earth does it have to do with you?! Who are you to question the decisions of the admins? Come on man, stop being annoying and getting into everyone's business, just live your own damn life!
Took the words right out of my mouth.
Reply
#10

Quote:
Originally Posted by Potassium
Посмотреть сообщение
This post was made over a year ago. It was bumped by the person before you because they needed help. Why must you make such huge assumptions? Who says the OP was banned for this post? And even if this topic was made today there could be a million reasons that he was banned. AND most importantly: what on Earth does it have to do with you?! Who are you to question the decisions of the admins? Come on man, stop being annoying and getting into everyone's business, just live your own damn life!
Oh well, it's just the SAMP forums. When I come online I don't really care about when someone assumes something on a topic like this, and I don't expect other people to either... so what I assume he got banned for asking for help with a leaked script, this doesn't effect anyone here at all if I do that and I don't know why anybody would feel offended over it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)