SA-MP Forums Archive
Character selection + views - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Character selection + views (/showthread.php?tid=88866)



Character selection + views - beggsz - 29.07.2009

Hows it going, pretty much just guna come straight out and get on with it. I used to have my own server it was crap just random pretty much. I made a new one and ive forgotten how to do alot. So pretty much what i wana do first off is when im choosing which characters to be and all. I wana change the characters position when selecting someone to play as to somewhere else. Maybe around grove street, i also want it the people to show up when your selecting them. Not be invisible? Can anyone help me. Cheers would be greatly apreciated..


Re: Character selection + views - pagie1111 - 29.07.2009

i dont get what you are asking ?


Re: Character selection + views - beggsz - 29.07.2009

oh.. you know when you are choosing the person your guna play as. well i have just created a bland gamemode and instead of the camera and all showing up at those stairs i want it to all be in grove street..? get it?


Re: Character selection + views - (UvH)bLacKhAwK - 29.07.2009

Thats for the skin in the class-selection.

pawn Код:
AddPlayerClass(SKINID,FLOAT:X,FLOAT:Y,FLOAT:Z,ANGLE,WEAPON1,AMMO1,WEAPON2,AMMO2,WEAPON3,AMMO3); //
=

pawn Код:
public OnGameModeInit()
{
  //grove
  AddPlayerClass(105,2522.8345,-1678.9194,15.4970,90.6383,0,0,0,0,0,0); //
  AddPlayerClass(106,2512.9783,-1651.0427,14.0938,132.3748,0,0,0,0,0,0); //
  AddPlayerClass(107,2469.5427,-1648.1656,13.4721,185.7672,0,0,0,0,0,0); //
  return 1;
}
And thats for the location, where the classselection is, you can do it for all or for every skin ( i have located it in the kitchen of the johnsons house.)

pawn Код:
if(classid == 0 || classid == 1 || classid == 3) //change ids
    {
    gTeam[playerid] = TEAM_GROVE; //have to define it
    SetPlayerInterior(playerid, 3);
    SetPlayerPos(playerid,2499.2678,-1709.2058,1014.7422);
    SetPlayerCameraPos(playerid,2492.2031,-1709.8561,1014.7422);
    SetPlayerCameraLookAt(playerid,2499.2678,-1709.2058,1014.7422);
    SetPlayerFacingAngle(playerid,90.0);
    GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~p~>~y~LS~p~<~w~Grove Street Families", 3000, 3);
    ApplyAnimation(playerid,"LOWRIDER", "RAP_B_Loop",4.0,1,1,1,1,1);
    }



Re: Character selection + views - pagie1111 - 29.07.2009

OH! no problem! lol

okay if i had my GTA SA installed on my pc here i'd get them for you :P

if my sister gets off the good pc ill help you by getting them for you :P

but, you can go to Grove, and do "/save Pos" at one spot then about 5 metres away do "/save CamPos"


then get the AddPlayerClass codes from savedpositions.txt in C:/Program Files/Rockstar Games/GTA San Andreas

look for the two with "//Pos" and "//CamPos" after them, copy them then post them to a new post and ill help you :P


Re: Character selection + views - clean180ollie - 29.07.2009

SA-MP Scripting Tutorial 3: Making The Skin Visible On Selection


Re: Character selection + views - beggsz - 23.12.2009

cheers ill watch ur vid n stuff. ill try sort it out.