SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 26/05/2012, 08:26 AM   #1
t-wstriker
Little Clucker
 
Join Date: Dec 2011
Posts: 30
Reputation: 11
Default how can i remove tutorial

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

tutorial is like spawnbar
__________________
t-wstriker is offline   Reply With Quote
Old 26/05/2012, 08:30 AM   #2
iggy1
High-roller
 
iggy1's Avatar
 
Join Date: Mar 2009
Location: One past the end.
Posts: 2,421
Reputation: 273
Default Re: how can i remove tutorial

Delete it.
iggy1 is offline   Reply With Quote
Old 26/05/2012, 08:44 AM   #3
-CaRRoT
High-roller
 
-CaRRoT's Avatar
 
Join Date: Jul 2011
Location: CA, Los Angeles.
Posts: 1,275
Reputation: 344
Default Re: how can i remove tutorial

Show us the Script ?
-CaRRoT is offline   Reply With Quote
Old 26/05/2012, 11:58 AM   #4
t-wstriker
Little Clucker
 
Join Date: Dec 2011
Posts: 30
Reputation: 11
Default Re: how can i remove tutorial

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 ..
__________________
t-wstriker is offline   Reply With Quote
Old 26/05/2012, 12:31 PM   #5
TheDominator
Huge Clucker
 
Join Date: Feb 2012
Location: United Kingdom
Posts: 488
Reputation: 53
Default Re: how can i remove tutorial

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.
__________________


I don't care who or what you are, you show respect to me and I'll respect you back, simple.
TheDominator is offline   Reply With Quote
Old 26/05/2012, 12:42 PM   #6
t-wstriker
Little Clucker
 
Join Date: Dec 2011
Posts: 30
Reputation: 11
Default Re: how can i remove tutorial

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);
	}
__________________
t-wstriker is offline   Reply With Quote
Old 26/05/2012, 11:47 PM   #7
t-wstriker
Little Clucker
 
Join Date: Dec 2011
Posts: 30
Reputation: 11
Default Re: how can i remove tutorial

waiting for reply
__________________
t-wstriker is offline   Reply With Quote
Old 26/05/2012, 11:50 PM   #8
String
Banned
 
Join Date: Aug 2010
Location: Scotland, UK
Posts: 37
Reputation: 13
Default Re: how can i remove tutorial



You make me sick.
String is offline   Reply With Quote
Old 27/05/2012, 03:10 AM   #9
ReneG
High-roller
 
Join Date: Oct 2011
Location: Sublime Text 2
Posts: 1,905
Reputation: 337
Default Re: how can i remove tutorial

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
ReneG is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
EOG:RP how to remove tutorial SomeGuy#1 Server Support 4 01/03/2012 09:17 AM
How to remove tutorial from GTA:RP and replace it with questions? Sensitive Help Archive 7 27/04/2011 02:41 PM


All times are GMT. The time now is 02:26 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.