Kinda nooby question
#1

Sorry if it's already been answered, i've searches using the search funtion and found nothing.

I'm new to scripting, and have been messing around making a TDM server. I'm only as far as the class selection.
I have been able to make it so I can see my player and in the right spot, but when i get to the people of a different gang the screen is in the same place.

I want it to be able to choose particular skins in one place, and other ones in other places. I can't really explain it well but I hope someone gets what I mean
Reply
#2

So you want some skins to appear in san fierro on the selection screen and others to appear in las venturas for example?
Reply
#3

Yeah, thats the main idea.
Reply
#4

Set the camera and positions OnPlayerRequestClass. Something like this:

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    if(classid == 0) {
        GameTextForPlayer(playerid, "TEAM 1", 1000, 5);
        SetPlayerPos(playerid, x, y, z);
        SetPlayerFacingAngle(playerid, a);
        SetPlayerCameraPos(playerid, x, y, z);
        SetPlayerCameraLookAt(playerid, x, y, z);
    } else if(classid == 1) {
        GameTextForPlayer(playerid, "TEAM 2", 1000, 5);
        SetPlayerPos(playerid, x, y, z);
        SetPlayerFacingAngle(playerid, a);
        SetPlayerCameraPos(playerid, x, y, z);
        SetPlayerCameraLookAt(playerid, x, y, z);
    }
    return 1;
}
Reply
#5

Thank you heaps

You can archive it or whatever you do with solved questions etc.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)