Beginner - How To: Create An Player Class
#1

[b]
New To Pawno ? Need Help? Well, im here to teach you the basics of scripting!

So you want to create an player class? Here are the step by step basics:
NOTE: may differ on some gamemodes!

1) Open Pawno.
2) Start A New Script.

3) Pick out an player skin to use! for this example im going to use skin "627"!

4) Here is an diagram:
Код:
public OnGameModeInit( )
{
  // CJ SKIN.
  AddPlayerClass( 0, X, Y, Z, A , 0, 0 );
  return 1;
}
[b]
5) Heres An Example:
Код:
public OnGameModeInit( )
{
  // CJ SKIN
  AddPlayerClass( 0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0 );
  return 1;
}
[b]I hope this has helped some of you new scripters!

More Beginner Lessons Coming Soon!
Reply
#2

How about:
https://sampwiki.blast.hk/wiki/AddPlayerClass
lol ^^
Reply
#3

yes, but the way i explained it, is easier to understand by beginners.
Reply
#4

Could you please send a picture of skin 627, must be a nice one.

TBH, the SA-MP wiki contains alot more information about adding player classes than this your 'tutorial' which is made in less than 2 minutes.

Please, if you're going to make tutorials in the future, spend some time while writing them so they won't be as crap as this one.
Reply
#5

-Message Removed By Author- Sorry For Double Posting
Reply
#6

Quote:
Originally Posted by Finn
Could you please send a picture of skin 627, must be a nice one.

TBH, the SA-MP wiki contains alot more information about adding player classes than this your 'tutorial' which is made in less than 2 minutes.

Please, if you're going to make tutorials in the future, spend some time while writing them so they won't be as crap as this one.
[b]Skin "627" Is A Modded Skin I Made Work With My SA-MP Server Using An Application Called "Spark"
Its Just A "Mall Cop" For Roleplaying:

Reply
#7

What the fuck ain't skins from 0 to 300 or something like that?
Reply
#8

the program alowws you to edit SA-MP skins, weapons, cars Etc..
Reply
#9

you should tell us/them what mean x,y,z,numberhere,numberhere ... like coordinate x, coordinate y,coordinate z, and last 2 numbers are facing angels if i am not wrong lol make more explained tutorials anyway good tut
Reply
#10

you didn't even use skin 627 in your examples.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)