SA-MP Forums Archive
how can i remove tutorial - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: how can i remove tutorial (/showthread.php?tid=345744)



how can i remove tutorial - t-wstriker - 26.05.2012

how can i remove rp tutorial because i want to add another tutorial into my GM

tutorial is like spawnbar


Re: how can i remove tutorial - iggy1 - 26.05.2012

Delete it.


Re: how can i remove tutorial - -CaRRoT - 26.05.2012

Show us the Script ?


Re: how can i remove tutorial - t-wstriker - 26.05.2012

i dont know which script is for tutorial but if u try to get in my server u can findout what i am talking about ..


Re: how can i remove tutorial - TheDominator - 26.05.2012

We can't just enter your server and automatically find out what scripts there is... You need to post the OnPlayerSpawn or OnPlayerConnect function along with the code underneath, that's where it will most probably be.


Re: how can i remove tutorial - t-wstriker - 26.05.2012

Code:
forward TutorialSpots(playerid);
public TutorialSpots(playerid)
{
    PlayerPlaySound(playerid, 1068, 0.0, 0.0, 0.0);
    if(TutorialPlace[playerid] == 0)
	{
	    TogglePlayerSpectating(playerid,1);
	    SetPlayerCameraPos(playerid,2702.8474,355.2281,33.1716);
	    SetPlayerCameraLookAt(playerid,2766.4597,415.6163,8.2898);
	    TutorialPlace[playerid]++;
	    TextDrawHideForPlayer(playerid, E1);
	    TextDrawShowForPlayer(playerid, NewbieDraw3);
	    TextDrawShowForPlayer(playerid, NewbieDraw1[playerid]);
	    TextDrawShowForPlayer(playerid, NewbieDraw2[playerid]);
	    TextDrawSetString(Text:NewbieDraw2[playerid], "Tutorial");
	}
	else if(TutorialPlace[playerid] == 1)
	{
	    SetPlayerCameraPos(playerid,1815.78869628,-1891.09753417,33.07072830);
	    SetPlayerCameraLookAt(playerid,1824.80139160,-1877.59655761,27.52873039);
	    TutorialPlace[playerid]++;
	    TextDrawSetString(Text:NewbieDraw2[playerid], "The Unity");
	}
	else if(TutorialPlace[playerid] == 2)
	{
	    SetPlayerCameraPos(playerid,1454.4012,-1717.4906,37.2822);
	    SetPlayerCameraLookAt(playerid,1433.5424,-1706.4664,32.1628);
	    TutorialPlace[playerid]++;
	    TextDrawSetString(Text:NewbieDraw2[playerid], "D.M.V");
	}
	else if(TutorialPlace[playerid] == 3)
	{
	    SetPlayerCameraPos(playerid,1815.6160,-1681.1908,13.5469);
	    SetPlayerCameraLookAt(playerid,1836.8738,-1682.3501,16.3906);
	    TutorialPlace[playerid]++;
	    TextDrawSetString(Text:NewbieDraw2[playerid], "The Alhambra");
	}
	else if(TutorialPlace[playerid] == 4)
	{
	    SetPlayerCameraPos(playerid,2125.4453,-1119.0323,37.1580);
	    SetPlayerCameraLookAt(playerid,2131.0527,-1150.2542,24.1689);
	    TutorialPlace[playerid]++;
	    TextDrawSetString(Text:NewbieDraw2[playerid], "Car Dealership");
	}
	else if(TutorialPlace[playerid] == 5)
	{
	    SetPlayerCameraPos(playerid,1461.9402,-1033.4470,31.3282);
	    SetPlayerCameraLookAt(playerid,1461.8881,-1012.4249,26.8438);
	    TutorialPlace[playerid]++;
	    TextDrawSetString(Text:NewbieDraw2[playerid], "Bank");
	}
	else if(TutorialPlace[playerid] == 6)
	{
	    SetPlayerCameraPos(playerid,1791.5729,-1253.8633,39.8392);
	    SetPlayerCameraLookAt(playerid,1788.2462,-1295.3187,13.4739);
	    TutorialPlace[playerid]++;
	    TextDrawSetString(Text:NewbieDraw2[playerid], "San News");
	}
	else if(TutorialPlace[playerid] == 7)
	{
	    SetPlayerCameraPos(playerid,1517.7795,-1720.5072,42.4527);
	    SetPlayerCameraLookAt(playerid,1477.4188,-1763.5562,18.7958);
	    TutorialPlace[playerid]++;
	    TextDrawSetString(Text:NewbieDraw2[playerid], "City Hall");
	}
	else if(TutorialPlace[playerid] == 8)
	{
	    TutorialPlace[playerid] = 0;
	    TogglePlayerSpectating(playerid,0);
	    TextDrawHideForPlayer(playerid, NewbieDraw3);
	    TextDrawHideForPlayer(playerid, NewbieDraw1[playerid]);
	    TextDrawHideForPlayer(playerid, NewbieDraw2[playerid]);
	    TextDrawShowForPlayer(playerid, E1);
	}



Re: how can i remove tutorial - t-wstriker - 26.05.2012

waiting for reply


Re: how can i remove tutorial - String - 26.05.2012



You make me sick.


Re: how can i remove tutorial - ReneG - 27.05.2012

Quote:
Originally Posted by String
View Post


You make me sick.
Hahahahahah, what the fuck??

@OP, do you even understand the basics of sa-mp scripting?

Try deleting the tutorial code, compile and try to fix errors one by one. That is how I would go about removing shit that's hard-coded into a script