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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)