Character selection + views
#1

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..
Reply
#2

i dont get what you are asking ?
Reply
#3

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?
Reply
#4

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);
    }
Reply
#5

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
Reply
#6

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)