Need help! To add player classes and more.
#1

Hello, ive searched around but havent found any guide.. so iґll ask here then, how do i add player classes on my server so people can choose on many skins? I got the ids and infoґs and everything look:

Код:
AddPlayerClass(180,-468.3654,2208.0317,46.4776,115.0000,4,1,0,0,0,0);
	AddPlayerClass(217,-468.3654,2208.0317,46.4776,115.0000,4,1,1,1,0,0);
	AddPlayerClass(211,-467.6280,2208.3828,46.4052,115.0000,4,1,0,0,0,0);
	AddPlayerClass( 28,-468.3654,2208.0317,46.4776,115.0000,4,1,1,1,0,0);
        AddPlayerClass(  0,-469.4590,2207.5110,46.5850,115.0000,4,1,0,0,0,0);
        AddPlayerClass(202,-470.4734,2207.0278,46.6846,115.0000,4,1,0,0,0,0);
	AddPlayerClass(137,-467.6280,2208.3828,46.4052,115.0000,0,0,0,0,0,0);
	AddPlayerClass( 21,-468.3654,2208.0317,46.4776,115.0000,4,1,1,1,0,0);
	AddPlayerClass( 22,-469.4590,2207.5110,46.5850,115.0000,4,1,0,0,0,0);
	AddPlayerClass( 19,-467.6280,2208.3828,46.4052,115.0000,4,1,1,1,0,0);
	AddPlayerClass(181,-468.3654,2208.0317,46.4776,115.0000,4,1,41,50,0,0);
	AddPlayerClass(242,-469.4590,2207.5110,46.5850,115.0000,4,1,2,1,0,0);
	AddPlayerClass( 29,-470.4734,2207.0278,46.6846,115.0000,4,1,0,0,0,0);
	AddPlayerClass( 61,-467.6280,2208.3828,46.4052,115.0000,0,0,0,0,0,0);
	AddPlayerClass(167,-468.3654,2208.0317,46.4776,115.0000,4,1,0,0,0,0);
	AddPlayerClass(179,-469.4590,2207.5110,46.5850,115.0000,4,1,6,1,0,0);
	AddPlayerClass(204,-470.4734,2207.0278,46.6846,115.0000,4,1,8,1,0,0);
	AddPlayerClass( 80,-467.6280,2208.3828,46.4052,115.0000,4,1,0,0,0,0);
	AddPlayerClass( 81,-467.6280,2208.3828,46.4052,115.0000,4,1,0,0,0,0);
	AddPlayerClass( 23,-468.3654,2208.0317,46.4776,115.0000,4,1,0,0,0,0);
	AddPlayerClass( 99,-469.4590,2207.5110,46.5850,115.0000,0,0,0,0,0,0);
	AddPlayerClass(161,-470.4734,2207.0278,46.6846,115.0000,6,1,0,0,0,0);
	AddPlayerClass( 33,-467.6280,2208.3828,46.4052,115.0000,4,1,0,0,0,0);
	AddPlayerClass(163,-468.3654,2208.0317,46.4776,115.0000,4,1,0,0,0,0);
	AddPlayerClass(164,-469.4590,2207.5110,46.5850,115.0000,4,1,0,0,0,0);
	AddPlayerClass(165,-468.3654,2208.0317,46.4776,115.0000,4,1,0,0,0,0);
	AddPlayerClass(166,-468.3654,2208.0317,46.4776,115.0000,4,1,0,0,0,0);
	AddPlayerClass(277,-470.4734,2207.0278,46.6846,115.0000,4,1,0,0,0,0);
	AddPlayerClass(280,-467.6280,2208.3828,46.4052,115.0000,4,1,3,1,0,0);
	AddPlayerClass(282,-468.3654,2208.0317,46.4776,115.0000,4,1,3,1,0,0);
	AddPlayerClass(283,-469.4590,2207.5110,46.5850,115.0000,4,1,3,1,0,0);
	AddPlayerClass(284,-470.4734,2207.0278,46.6846,115.0000,4,1,3,1,0,0);
	AddPlayerClass(285,-467.6280,2208.3828,46.4052,115.0000,4,1,3,1,0,0);
	AddPlayerClass(287,-468.3654,2208.0317,46.4776,115.0000,4,1,3,1,0,0);
	AddPlayerClass(100,-469.4590,2207.5110,46.5850,115.0000,4,1,0,0,0,0);
	AddPlayerClass(106,-470.4734,2207.0278,46.6846,115.0000,4,1,1,1,0,0);
	AddPlayerClass( 93,-467.6280,2208.3828,46.4052,115.0000,4,1,0,0,0,0);
	AddPlayerClass(233,-468.3654,2208.0317,46.4776,115.0000,4,1,0,0,0,0);
	AddPlayerClass( 41,-469.4590,2207.5110,46.5850,115.0000,4,1,0,0,0,0);
        AddPlayerClass(178,-470.4734,2207.0278,46.6846,115.0000,4,1,11,1,0,0);
	AddPlayerClass(246,-467.6280,2208.3828,46.4052,115.0000,4,1,11,1,0,0);
        AddPlayerClass( 85,-469.4590,2207.5110,46.5850,115.0000,4,1,11,1,0,0);
        AddPlayerClass(192,-468.3654,2208.0317,46.4776,115.0000,4,1,0,0,0,0);
        AddPlayerClass(193,-469.4590,2207.5110,46.5850,115.0000,4,1,0,0,0,0);
	AddPlayerClass(286,-467.6280,2208.3828,46.4052,115.0000,4,1,0,0,0,0);
	AddPlayerClass( 18,-468.3654,2208.0317,46.4776,115.0000,4,1,0,0,0,0);
        AddPlayerClass( 26,-470.4734,2207.0278,46.6846,115.0000,4,1,0,0,0,0);
	AddPlayerClass(141,-467.6280,2208.3828,46.4052,115.0000,4,1,0,0,0,0);
	AddPlayerClass(189,-468.3654,2208.0317,46.4776,115.0000,4,1,0,0,0,0);
	AddPlayerClass( 70,-469.4590,2207.5110,46.5850,115.0000,4,1,0,0,0,0);
	AddPlayerClass(213,-467.6280,2208.3828,46.4052,115.0000,4,1,1,1,0,0);
	AddPlayerClass(206,-468.3654,2208.0317,46.4776,115.0000,4,1,0,0,0,0);
	AddPlayerClass(228,-469.4590,2207.5110,46.5850,115.0000,4,1,0,0,0,0);
	AddPlayerClass(240,-470.4734,2207.0278,46.6846,115.0000,4,1,0,0,0,0);
	AddPlayerClass(272,-467.6280,2208.3828,46.4052,115.0000,4,1,0,0,0,0);
	AddPlayerClass(269,-468.3654,2208.0317,46.4776,115.0000,4,1,0,0,0,0);
So how to add them to gamemode?

And i also wanna know how to make so when you join, instead of the "connected to Stunt Revolution" there is a bigger text in color that says:
Welcome to Stunt Revolution!
Start Of By Typing /Help In The Chat !

understand? i can explane better if needed.. but i think you will understand hehe..
Reply
#2

Add the "AddPlayerClass" under OnGameModeInit()

and add
pawn Код:
GameTextForPlayer(playerid, "~r~Welcome to Stunt Revolution!\n~w~Start Of By Typing /Help In The Chat !" , time, style);
under OnPlayerConnect()

click here for more info on GameTextForPlayer();
and for game text colors: click here
Reply
#3

You have to put all those classes to your OnGameModeInit callback. And about the join message, you could use a textdraw or gametext.
Reply
#4

Your put the AddPlayerClass lines under OnGameModeInit.

EDIT: Beaten by the above two. :P
Reply
#5

For the AddPlayerClass's

1. Open up pawno
2. Open your game mode..
3. Copy the AddPlayerClass's u got here.
4.Click on "Edit" And then on "Search" or CTRL+F
5. Enter this public OnGameModeInit()
6. Under public OnGameModeInit()
Add the player classes
That looks like this then
pawn Код:
OnGameModeInit()
{

AddPlayerClass(180,-468.3654,2208.0317,46.4776,115.0000,4,1,0,0,0,0);
    AddPlayerClass(217,-468.3654,2208.0317,46.4776,115.0000,4,1,1,1,0,0);
    AddPlayerClass(211,-467.6280,2208.3828,46.4052,115.0000,4,1,0,0,0,0);
    AddPlayerClass( 28,-468.3654,2208.0317,46.4776,115.0000,4,1,1,1,0,0);
        AddPlayerClass(  0,-469.4590,2207.5110,46.5850,115.0000,4,1,0,0,0,0);
        AddPlayerClass(202,-470.4734,2207.0278,46.6846,115.0000,4,1,0,0,0,0);
    AddPlayerClass(137,-467.6280,2208.3828,46.4052,115.0000,0,0,0,0,0,0);
    AddPlayerClass( 21,-468.3654,2208.0317,46.4776,115.0000,4,1,1,1,0,0);
    AddPlayerClass( 22,-469.4590,2207.5110,46.5850,115.0000,4,1,0,0,0,0);
    AddPlayerClass( 19,-467.6280,2208.3828,46.4052,115.0000,4,1,1,1,0,0);
    AddPlayerClass(181,-468.3654,2208.0317,46.4776,115.0000,4,1,41,50,0,0);
    AddPlayerClass(242,-469.4590,2207.5110,46.5850,115.0000,4,1,2,1,0,0);
    AddPlayerClass( 29,-470.4734,2207.0278,46.6846,115.0000,4,1,0,0,0,0);
    AddPlayerClass( 61,-467.6280,2208.3828,46.4052,115.0000,0,0,0,0,0,0);
    AddPlayerClass(167,-468.3654,2208.0317,46.4776,115.0000,4,1,0,0,0,0);
    AddPlayerClass(179,-469.4590,2207.5110,46.5850,115.0000,4,1,6,1,0,0);
    AddPlayerClass(204,-470.4734,2207.0278,46.6846,115.0000,4,1,8,1,0,0);
    AddPlayerClass( 80,-467.6280,2208.3828,46.4052,115.0000,4,1,0,0,0,0);
    AddPlayerClass( 81,-467.6280,2208.3828,46.4052,115.0000,4,1,0,0,0,0);
    AddPlayerClass( 23,-468.3654,2208.0317,46.4776,115.0000,4,1,0,0,0,0);
    AddPlayerClass( 99,-469.4590,2207.5110,46.5850,115.0000,0,0,0,0,0,0);
    AddPlayerClass(161,-470.4734,2207.0278,46.6846,115.0000,6,1,0,0,0,0);
    AddPlayerClass( 33,-467.6280,2208.3828,46.4052,115.0000,4,1,0,0,0,0);
    AddPlayerClass(163,-468.3654,2208.0317,46.4776,115.0000,4,1,0,0,0,0);
    AddPlayerClass(164,-469.4590,2207.5110,46.5850,115.0000,4,1,0,0,0,0);
    AddPlayerClass(165,-468.3654,2208.0317,46.4776,115.0000,4,1,0,0,0,0);
    AddPlayerClass(166,-468.3654,2208.0317,46.4776,115.0000,4,1,0,0,0,0);
    AddPlayerClass(277,-470.4734,2207.0278,46.6846,115.0000,4,1,0,0,0,0);
    AddPlayerClass(280,-467.6280,2208.3828,46.4052,115.0000,4,1,3,1,0,0);
    AddPlayerClass(282,-468.3654,2208.0317,46.4776,115.0000,4,1,3,1,0,0);
    AddPlayerClass(283,-469.4590,2207.5110,46.5850,115.0000,4,1,3,1,0,0);
    AddPlayerClass(284,-470.4734,2207.0278,46.6846,115.0000,4,1,3,1,0,0);
    AddPlayerClass(285,-467.6280,2208.3828,46.4052,115.0000,4,1,3,1,0,0);
    AddPlayerClass(287,-468.3654,2208.0317,46.4776,115.0000,4,1,3,1,0,0);
    AddPlayerClass(100,-469.4590,2207.5110,46.5850,115.0000,4,1,0,0,0,0);
    AddPlayerClass(106,-470.4734,2207.0278,46.6846,115.0000,4,1,1,1,0,0);
    AddPlayerClass( 93,-467.6280,2208.3828,46.4052,115.0000,4,1,0,0,0,0);
    AddPlayerClass(233,-468.3654,2208.0317,46.4776,115.0000,4,1,0,0,0,0);
    AddPlayerClass( 41,-469.4590,2207.5110,46.5850,115.0000,4,1,0,0,0,0);
        AddPlayerClass(178,-470.4734,2207.0278,46.6846,115.0000,4,1,11,1,0,0);
    AddPlayerClass(246,-467.6280,2208.3828,46.4052,115.0000,4,1,11,1,0,0);
        AddPlayerClass( 85,-469.4590,2207.5110,46.5850,115.0000,4,1,11,1,0,0);
        AddPlayerClass(192,-468.3654,2208.0317,46.4776,115.0000,4,1,0,0,0,0);
        AddPlayerClass(193,-469.4590,2207.5110,46.5850,115.0000,4,1,0,0,0,0);
    AddPlayerClass(286,-467.6280,2208.3828,46.4052,115.0000,4,1,0,0,0,0);
    AddPlayerClass( 18,-468.3654,2208.0317,46.4776,115.0000,4,1,0,0,0,0);
        AddPlayerClass( 26,-470.4734,2207.0278,46.6846,115.0000,4,1,0,0,0,0);
    AddPlayerClass(141,-467.6280,2208.3828,46.4052,115.0000,4,1,0,0,0,0);
    AddPlayerClass(189,-468.3654,2208.0317,46.4776,115.0000,4,1,0,0,0,0);
    AddPlayerClass( 70,-469.4590,2207.5110,46.5850,115.0000,4,1,0,0,0,0);
    AddPlayerClass(213,-467.6280,2208.3828,46.4052,115.0000,4,1,1,1,0,0);
    AddPlayerClass(206,-468.3654,2208.0317,46.4776,115.0000,4,1,0,0,0,0);
    AddPlayerClass(228,-469.4590,2207.5110,46.5850,115.0000,4,1,0,0,0,0);
    AddPlayerClass(240,-470.4734,2207.0278,46.6846,115.0000,4,1,0,0,0,0);
    AddPlayerClass(272,-467.6280,2208.3828,46.4052,115.0000,4,1,0,0,0,0);
    AddPlayerClass(269,-468.3654,2208.0317,46.4776,115.0000,4,1,0,0,0,0);
            return 1;
}
6. Compile and your done!

Also if you mean when connecting that it sends a Message or a Screen message?

For a normal message

Search for this : "public OnPlayerConnect(playerid)"
Under it Add this :

SendClientMessage(playerid,YOURCOLOR,"Welcome to Stunt Revolution!");
SendClientMessage(playerid,YOURCOLOR,"Start Of By Typing /Help in the Chat!");

THat looks like..

pawn Код:
public OnPlayerConnect(playerid)
{
   SendClientMessage(playerid,blue,"Welcome to Stunt Revolution!");
   SendClientMessage(playerid,YOURCOLOR,"Start Of By Typing /Help in the Chat!");
   return 1;
}
For a on screen message:

1. Search for public OnPlayerConnect(playerid)
{

2. Under it add GameTextForPlayer(playerid,"Welcome to Stunt Revolution!",10000,4);

Explaination :

GameTextForPlayer(playerid,"Text!",Time,Style);


GameTextForPlayer Brings up a on screen message.
playerid is the player who connects..
Text > the text you want to show to the player who connects
Time > The time to how long to show it up <In milliseconds>
Style > The style you want to choose, i prefer 5 but you can try it out! it ranges from 0-6.

If you need help just ask
Reply
#6

Thank you! welcome text works perfect but i dont understand, now when i added these playerclasses i start out in desert with knuckles and a knife? as a "staff" skin, and still cant choose/see skins at start : s
Reply
#7

PM Me the GM i'll fix it for you . or i explain how that AddPlayerClass works.

AddPlayerClass( 99,-469.4590,2207.5110,46.5850,115.0000,0,0,0,0,0,0);


//The ( 99 < Is the skin.
The 469.4590, 2207.5110, 46.5850 < Is the X Y Z You can get the X Y Z With typing /save In the Game.

Its in your gta user files SAMP Saved Locations.

The 115.0000 is the Facingangle, ( Where the player looks at when selecting the skin )

,0,0,0,0,0,0);
Means the weapons 0 is Unarmed its like

Weapon,Ammo,Weapon2,AmmOfWeapon2,Weapon3,AmmoOfWea pon3

You can get the Weapon ids from here : http://weedarr.wikidot.com/gunlist

Ex : If you want to give the player who chooses Skin id 1 a AK with 5000 Ammo it should look like this

AddPlayerClass(X,Y,Z,FacingAngle,30,5000,0,0,0,0);

You have to add that under OnGameModeInit()
{
AddPlayerClass(X,Y,Z,FacingAngle,Wep1,Wep2,etc,);
//AddHereOtherPlayerClasses
return 1;
}

Here i took some AddPlayerClass's out of my GameMode

pawn Код:
public OnGameModeInit()
{
   AddPlayerClass(0,-468.3654,2208.0317,46.4776,115.0000,0,0,0,0,0,0);
    AddPlayerClass(1,-468.3654,2208.0317,46.4776,115.0000,0,0,0,0,0,0);
    AddPlayerClass(2,-467.6280,2208.3828,46.4052,115.0000,0,0,0,0,0,0);
    AddPlayerClass( 7,-468.3654,2208.0317,46.4776,115.0000,0,0,0,0,0,0);
    AddPlayerClass(  9,-469.4590,2207.5110,46.5850,115.0000,0,0,0,0,0,0);
    AddPlayerClass(10,-470.4734,2207.0278,46.6846,115.0000,0,0,0,0,0,0);
    AddPlayerClass(11,-467.6280,2208.3828,46.4052,115.0000,0,0,0,0,0,0);
    AddPlayerClass( 12,-468.3654,2208.0317,46.4776,115.0000,0,0,0,0,0,0);
    AddPlayerClass( 13,-469.4590,2207.5110,46.5850,115.0000,0,0,0,0,0,0);
    AddPlayerClass( 14,-467.6280,2208.3828,46.4052,115.0000,0,0,0,0,0,0);
    AddPlayerClass(15,-468.3654,2208.0317,46.4776,115.0000,0,0,0,0,0,0);
    AddPlayerClass(16,-469.4590,2207.5110,46.5850,115.0000,0,0,0,0,0,0);
    AddPlayerClass( 17,-470.4734,2207.0278,46.6846,115.0000,0,0,0,0,0,0);
    AddPlayerClass( 18,-467.6280,2208.3828,46.4052,115.0000,0,0,0,0,0,0);
    AddPlayerClass(19,-468.3654,2208.0317,46.4776,115.0000,0,0,0,0,0,0);
    AddPlayerClass(20,-469.4590,2207.5110,46.5850,115.0000,0,0,0,0,0,0);
    AddPlayerClass(21,-470.4734,2207.0278,46.6846,115.0000,0,0,0,0,0,0);
    AddPlayerClass( 22,-467.6280,2208.3828,46.4052,115.0000,0,0,0,0,0,0);
    AddPlayerClass( 23,-467.6280,2208.3828,46.4052,115.0000,0,0,0,0,0,0);
    AddPlayerClass( 24,-468.3654,2208.0317,46.4776,115.0000,0,0,0,0,0,0);
    AddPlayerClass( 25,-469.4590,2207.5110,46.5850,115.0000,0,0,0,0,0,0);
    AddPlayerClass( 26,-470.4734,2207.0278,46.6846,115.0000,0,0,0,0,0,0);
    AddPlayerClass( 27,-467.6280,2208.3828,46.4052,115.0000,0,0,0,0,0,0);
    AddPlayerClass( 28,-468.3654,2208.0317,46.4776,115.0000,0,0,0,0,0,0);
    AddPlayerClass( 29,-469.4590,2207.5110,46.5850,115.0000,0,0,0,0,0,0);
    AddPlayerClass(30,-468.3654,2208.0317,46.4776,115.0000,0,0,0,0,0,0);
    AddPlayerClass(31,-468.3654,2208.0317,46.4776,115.0000,0,0,0,0,0,0);
    AddPlayerClass(32,-470.4734,2207.0278,46.6846,115.0000,0,0,0,0,0,0);
    AddPlayerClass(33,-467.6280,2208.3828,46.4052,115.0000,0,0,0,0,0,0);
    AddPlayerClass(34,-468.3654,2208.0317,46.4776,115.0000,0,0,0,0,0,0);
    AddPlayerClass(35,-469.4590,2207.5110,46.5850,115.0000,0,0,0,0,0,0);
    AddPlayerClass(36,-470.4734,2207.0278,46.6846,115.0000,0,0,0,0,0,0);
    AddPlayerClass(37,-467.6280,2208.3828,46.4052,115.0000,0,0,0,0,0,0);
    AddPlayerClass(38,-468.3654,2208.0317,46.4776,115.0000,0,0,0,0,0,0);
    AddPlayerClass(39,-469.4590,2207.5110,46.5850,115.0000,0,0,0,0,0,0);
    AddPlayerClass(40,-470.4734,2207.0278,46.6846,115.0000,0,0,0,0,0,0);
    AddPlayerClass( 41,-467.6280,2208.3828,46.4052,115.0000,0,0,0,0,0,0);
    AddPlayerClass(42,-468.3654,2208.0317,46.4776,115.0000,0,0,0,0,0,0);
    AddPlayerClass( 43,-469.4590,2207.5110,46.5850,115.0000,0,0,0,0,0,0);
    AddPlayerClass(44,-470.4734,2207.0278,46.6846,115.0000,0,0,0,0,0,0);
    AddPlayerClass(45,-467.6280,2208.3828,46.4052,115.0000,0,0,0,0,0,0);
    AddPlayerClass( 46,-469.4590,2207.5110,46.5850,115.0000,0,0,0,0,0,0);
    AddPlayerClass(47,-468.3654,2208.0317,46.4776,115.0000,0,0,0,0,0,0);
    AddPlayerClass(48,-469.4590,2207.5110,46.5850,115.0000,0,0,0,0,0,0);
    AddPlayerClass(49,-467.6280,2208.3828,46.4052,115.0000,0,0,0,0,0,0);
    AddPlayerClass( 50,-468.3654,2208.0317,46.4776,115.0000,0,0,0,0,0,0);
    AddPlayerClass( 51,-470.4734,2207.0278,46.6846,115.0000,0,0,0,0,0,0);
    AddPlayerClass(52,-467.6280,2208.3828,46.4052,115.0000,0,0,0,0,0,0);
    AddPlayerClass(53,-468.3654,2208.0317,46.4776,115.0000,0,0,0,0,0,0);
    AddPlayerClass( 54,-469.4590,2207.5110,46.5850,115.0000,0,0,0,0,0,0);
    AddPlayerClass(55,-467.6280,2208.3828,46.4052,115.0000,0,0,0,0,0,0);
    AddPlayerClass(56,-468.3654,2208.0317,46.4776,115.0000,0,0,0,0,0,0);
    AddPlayerClass(57,-469.4590,2207.5110,46.5850,115.0000,0,0,0,0,0,0);
    AddPlayerClass(58,-470.4734,2207.0278,46.6846,115.0000,0,0,0,0,0,0);
    AddPlayerClass(59,-467.6280,2208.3828,46.4052,115.0000,0,0,0,0,0,0);
    AddPlayerClass(60,-468.3654,2208.0317,46.4776,115.0000,0,0,0,0,0,0);


    return 1;
}
Also this is a good tutorial : https://sampwiki.blast.hk/wiki/AddPlayerClass It explains it also.
Then you'd spawn in the desert with no weapons.
Hope this helped you
Reply
#8

Thank you! i got warning when i added them : s
Код:
C:\Documents and Settings\Administratцr\Skrivbord\SAMP server\gamemodes\Stuntrevolution.pwn(46) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
>.<
Reply
#9

Can you show me line 46?
Reply
#10

fixed, you upper 2 ones:

Код:
AddPlayerClass(0,-468.3654,2208.0317,46.4776,115.0000,0,0,0,0,0,0);
    AddPlayerClass(1,-468.3654,2208.0317,46.4776,115.0000,0,0,0,0,0,0);
was identical so i deleted one and error is away lol
Reply
#11

lol you just had to move the AddPlayerClass ( line 46 ) a bit over, that it fits to the others ( guess so ? ) lol

Also you should use your own^^.
Reply
#12

Shit, still cant see the class when i choose it, im at some automaticly stairs in vegas and cant see any skin at all, i just hear the "boop" sound that is when you switch skin.. but cant see it

edit: My own skins? xP its everyones skins, where can i find all skins?
Reply
#13

Quote:
Originally Posted by Kitten_Blind
Посмотреть сообщение
Shit, still cant see the class when i choose it, im at some automaticly stairs in vegas and cant see any skin at all, i just hear the "boop" sound that is when you switch skin.. but cant see it

edit: My own skins? xP its everyones skins, where can i find all skins?
You must set the player and camera positions under OnPlayerRequestClass to see the skins you choose between.
Reply
#14

These are my current ones:
Код:
public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
	return 1;
}
But i have no idea at all how to know what the f*** to type instead, can you tell me some good location/pos/lookat thingy?
Reply
#15

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerInterior(playerid, 3);
    SetPlayerPos(playerid, 1206.29, -40.49, 1000.95);
    SetPlayerFacingAngle(playerid, 318.32);
    SetPlayerCameraPos(playerid, 1207.70, -37.59, 1001.62);
    SetPlayerCameraLookAt(playerid, 1205.54, -42.10, 1000.77);
    return 1;
}
Under OnPlayerSpawn

pawn Код:
SetPlayerInterior(playerid, 0);
Reply
#16

Quote:
Originally Posted by Kitten_Blind
Посмотреть сообщение
These are my current ones:
Код:
public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
	return 1;
}
But i have no idea at all how to know what the f*** to type instead, can you tell me some good location/pos/lookat thingy?
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, 1109.5435,-975.3839,42.7656);
    SetPlayerCameraPos(playerid, 1110.0398,-971.3917,42.7651,178.1518);
    SetPlayerCameraLookAt(playerid, 1109.5435,-975.3839,42.7656);
    return 1;
}
Try these. Just some random coords I took, but you should be able to see the skin.

EDIT: The coords posted in the previous post are probably better. I'm guessing it's the interior with the mirror, so you can see the skin from front as well as from the back.
Reply
#17

Nah, its the big spread stripper club, Lol. :P
Reply
#18

Huh? Can someone post that please! that mirror spot would be perfect !
Reply
#19

Someone !? ive searched, even ******d it! but cant seem to find it, i remmember my old scripter got me it on my first server tho.. but uhm, lets just say i cant ask him about it again... yeah......
Reply
#20

Quote:
Originally Posted by Kitten_Blind
Посмотреть сообщение
Someone !? ive searched, even ******d it! but cant seem to find it, i remmember my old scripter got me it on my first server tho.. but uhm, lets just say i cant ask him about it again... yeah......
I think some/one of the official GMs uses it. Search from there.
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)