SA-MP Forums

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

 
 
Thread Tools Display Modes
Old 05/02/2010, 02:16 PM   #1
Rubennnnn
Big Clucker
 
Join Date: Dec 2009
Posts: 79
Reputation: 0
Default How to add skins?

Hi,

When spawning you can, in most servers, chose of multiple skins.
How to add skins?
Rubennnnn is offline  
Old 05/02/2010, 02:25 PM   #3
Rubennnnn
Big Clucker
 
Join Date: Dec 2009
Posts: 79
Reputation: 0
Default Re: How to add skins?

Quote:
Originally Posted by Don Correlli
And then when you want to select a skin, you can't see it.
Rubennnnn is offline  
Old 05/02/2010, 02:26 PM   #4
Correlli
Godfather
 
Correlli's Avatar
 
Join Date: May 2009
Location: Slovenia
Posts: 7,173
Reputation: 360
Default Re: How to add skins?

Quote:
Originally Posted by Rubennnnn
And then when you want to select a skin, you can't see it.
You need to set the correct code for the player camera, check the wiki.
Correlli is offline  
Old 05/02/2010, 02:33 PM   #5
Rubennnnn
Big Clucker
 
Join Date: Dec 2009
Posts: 79
Reputation: 0
Default Re: How to add skins?

Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by Rubennnnn
And then when you want to select a skin, you can't see it.
You need to set the correct code for the player camera, check the wiki.
Code:
	AddPlayerClass(0,-2721.8162, -318.2610, 7.8438, 45.9776, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(1, -2721.8162, -318.2610, 7.8438, 45.9776, 0, 0, 0, 0, 0, 0);
and
Code:
public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerPos(playerid, -2721.8162, -318.2610, 7.8438);
	SetPlayerCameraPos(playerid, -2721.8162, -318.2610, 7.8438);
	SetPlayerCameraLookAt(playerid, -2721.8162, -318.2610, 7.8438);
	return 1;
}
It doesn't show the skin
Rubennnnn is offline  
Old 05/02/2010, 02:35 PM   #6
Rzzr
Gangsta
 
Rzzr's Avatar
 
Join Date: Aug 2007
Location: Netherlands
Posts: 983
Reputation: 251
Default Re: How to add skins?

Because you hvae the camera in your player
Try this:
Code:
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, -2721.8162, -318.2610, 7.8438);
SetPlayerCameraPos(playerid, -2721.8162, -318.2610-7, 7.8438);
SetPlayerCameraLookAt(playerid, -2721.8162, -318.2610, 7.8438);
return 1;
}
__________________
Rzzr is offline  
Old 05/02/2010, 02:38 PM   #7
Rubennnnn
Big Clucker
 
Join Date: Dec 2009
Posts: 79
Reputation: 0
Default Re: How to add skins?

Quote:
Originally Posted by [ST
υтнвαѕ ]
Because you hvae the camera in your player
Try this:
Code:
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, -2721.8162, -318.2610, 7.8438);
SetPlayerCameraPos(playerid, -2721.8162, -318.2610-7, 7.8438);
SetPlayerCameraLookAt(playerid, -2721.8162, -318.2610, 7.8438);
return 1;
}
That works but the camera is in the wall and you see his side-back
Rubennnnn is offline  
Old 05/02/2010, 03:06 PM   #8
Correlli
Godfather
 
Correlli's Avatar
 
Join Date: May 2009
Location: Slovenia
Posts: 7,173
Reputation: 360
Default Re: How to add skins?

Search for camera script by Sandra, you can save/load the camera positions with it.
Correlli is offline  
Old 05/02/2010, 04:24 PM   #9
Rubennnnn
Big Clucker
 
Join Date: Dec 2009
Posts: 79
Reputation: 0
Default Re: How to add skins?

Quote:
Originally Posted by Don Correlli
Search for camera script by Sandra, you can save/load the camera positions with it.
Doesn't exist anymore
Rubennnnn is offline  
Old 05/02/2010, 07:38 PM   #10
Rubennnnn
Big Clucker
 
Join Date: Dec 2009
Posts: 79
Reputation: 0
Default Re: How to add skins?

help
Rubennnnn is offline  
 

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
Cant see skins Dolph Help Archive 12 28/03/2010 01:49 PM
Skins maltheus. Help Archive 10 24/01/2010 11:37 PM
Different Skins? azrail41 Help Archive 5 09/12/2009 05:45 PM
skins sggassasin Help Archive 5 27/07/2009 05:37 AM


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


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