PDA

View Full Version : How to? Rep+ HELP! Quick!


petrolhead
16/03/2012, 05:45 PM
hi.
U know when u join any server and there is skin selector ? And there is a view of desert or bar interior etc. When u /kill its same too.
What line in gm is that to i change the view when u join server and class select?
Thx

GNGification
16/03/2012, 05:51 PM
public OnPlayerClassSelection

petrolhead
16/03/2012, 05:57 PM
will this change the view of skin select when player joins server?

GNGification
16/03/2012, 05:59 PM
You can use this, but you maybe need to change coordinates to whatever you want


public OnPlayerRequestClass( playerid, classid )
{
SetPlayerPos(playerid,1810.5295,-2103.0408,13.5469);
SetPlayerCameraPos(playerid,1814.3398,-2100.5222,13.5469);
SetPlayerCameraLookAt(playerid,1810.5295,-2103.0408,13.5469);
SetPlayerFacingAngle(playerid,300.0);
return 1;
}