Learn Script Here For [BEGINERS] -
Nirob - 10.03.2012
Ok Today I Am Going To Teach Something Which Is Really Helpful For Beginners Ok Now See This Lines
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
Above You See Is That There Is No Game-Mode Name Or Anything So Watch Carefully You Will Find These At Starting
Of Pawno Open Your Pawno And Then Find These Lines And LAUNCH Your SA-MP Debug And Use /player_skin [skinid]
Then When You Have Selected Your Skin Then Find A Nice Place For Your Player When You Find Then Write
/save GuySpawn1 And Then Stay In The Same Position And Type /save Guy Position At Spawn Then You Have
To Go Front Of Where You Saved Guy Position And Then When You Come Front Then Turn To The Position Where
You Saved The Guys Position And Write /save Camera Position At Spawn Then You Go Out Of Debug And
Go To Documents And Go To GTA SanAndreas Document And In The That Folder There Will Be A Folder Name SAMP
Then Get Into SAMP Folder And You Will See A Text Name [savedpositions] Then Click On Saved Position Then You Will Find Something Like This AddPlayerClass(0,1505.0670,-892.1097,58.7301,262.0000,0,0,0,0,0,0); // For Example
I Choosed CJ'S Skin So My Player Class Is This AddPlayerClass(0,1505.0670,-892.1097,58.7301,262.0000,0,0,0,0,0,0); //
Go And Over Write This One
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
You See There AddPlayerClass Down That One Put The Class You Save Saved From Your Position Then You Will Find
Something Like This
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(0,1505.0670,-892.1097,58.7301,262.0000,0,0,0,0,0,0); //
return 1;
}
Then If You Want To Make Skin Visible In Selection Then Remember What I Did I Made You Use
/save Guy Position At Spawn and /save Camera Position At Spawn
You And See There Its Written After // Then Use Those In
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerFacingAngle(playerid,3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}
Go Here And Paste The Code Of /save Guy Position At Spawn In The Code Of SetPlayerPos And Then At The
Last You Will Find A Number In /save Guy Position At Spawn I Mean Pawn Number Then Paste Then Number on
SetPlayerFacingAngle And Remember I Made You Do /save Camera Position At Spawn After // In [savedpositions] You Will Find It Written Then Take The Code And Paste It In SetPlayerCameraPos And At Last
Remember I Made You Do /save Guy Position At Spawn Then You Will Paste This Code In SetPlayerCameraLookAt
And One Skin And Visible Skin On Selection Done Like This You Can You How Many You Want.
HOPE YOU ENJOYED!GETIING TEACHED BY ME!
I WILL MAKE A VIDEO ON IT!
SO YOU CAN UNDERSTAND MORE
So Please +Rep Me If My Tutorial Is Good And If You Like It Or It Helped You
Re: Learn Script Here For [BEGINERS] -
Scrillex - 10.03.2012
WTF? first of all copy paste.. Secondly WRONG SELECTION! And it isn't tutorial it's unreadable.. Who wrote that tutorial did good job, but you are fail!
Re : Learn Script Here For [BEGINERS] -
Sreadon - 10.03.2012
Just an council, use the bb-codes [pawn*][/pawn] (obviously without the star)
Re: Learn Script Here For [BEGINERS] -
TRIPLE-xXx-GAMEING - 10.03.2012
ITS Llike shit trust me
Re: Learn Script Here For [BEGINERS] -
ReneG - 10.03.2012
This is not a very good tutorial at all. All I see is copy/paste this and copy/paste that.
Re: Learn Script Here For [BEGINERS] -
Scrillex - 10.03.2012
If Anyone Could Host Me A Free Server Then You Are Always
Welcomed To Reply In My Post That You Can Give Me Free Host
I Am A Pro Mapper + Scripter So If Anyone Have Free Host Then
You And Me Both Be Owner Of The Server If You Provide Me A Free
Host And Be My Friend And I Also Am Very Pro Mapper And Good
Scripter I Guess.
This made my day
Thanks mate
: D
:
D: