how to skip tutorial ? -
Leo Karls - 12.03.2012
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 ?
Re: how to skip tutorial ? -
Infinity - 12.03.2012
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
Re: how to skip tutorial ? -
Georgi166 - 12.03.2012
You could just simply remove the whole tutorial text and boxes, then keep the /next.
Re: how to skip tutorial ? -
Dripac - 12.03.2012
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;
}
Re: how to skip tutorial ? -
tyler12 - 12.03.2012
Quote:
Originally Posted by Infinity
Fixed
|
haha
Respuesta: how to skip tutorial ? -
Tyrexo - 03.05.2013
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;
}
Re: how to skip tutorial ? -
Coltmaster - 03.05.2013
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?
Re: how to skip tutorial ? -
Potassium - 03.05.2013
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!
Re: how to skip tutorial ? -
Isolated - 03.05.2013
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.
Re: how to skip tutorial ? -
Coltmaster - 03.05.2013
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.