hElp me with this plssss
#1

How can u make a spawn thingy... I mean when u connect to the server then u'll see whats the character ur choosing.
if i connect to my server i cant see what character im choosing ... I mean how do u put a camera at the front of the character so u know what kind of character u are choosing pls help ....
Reply
#2

SetCameraPos();
and to set the player use SetPlayerPos();
Reply
#3

PHP код:
//Public OnPlayerRequestClass.
public OnPlayerRequestClass(playeridclassid)
{
    Class[
playerid] = classid;
    
SetPlayerInterior(playerid,3);
    
SetPlayerVirtualWorld(playerid,1000);
    
SetPlayerPos(playerid,944.99,-41.64,1001.77);
    
SetPlayerFacingAngle(playerid,180.0);
    
SetPlayerCameraPos(playerid,944.69,-47.54,1001.12);
    
SetPlayerCameraLookAt(playerid,944.99,-41.64,1001.77);

    switch(
classid)
    {
    case 
0:
    {
    
GameTextForPlayer(playerid,"~w~TEST",1000,4);
    }
    case 
1:
    {
    
GameTextForPlayer(playerid,"~b~TEST2",1000,4);
    }
    return 
1;

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)