Hello need help with y_groups... Never worked with it.. Thats why I'am asking.
#1

So I have a little question I use y_groups
I want to make same effect like here:

PHP код:
    if(classid == 0)
    {
        
gTeam[playerid] = BALLAS;
        
GameTextForPlayer(playerid,"~w~Ballas",3000,5); // This will show up an Text , when you select your class
        
SetPlayerPos(playerid,1975.2399,-1220.0157,25.0779); // position of the player in the class selection
        
SetPlayerCameraPos(playerid,1969.5686,-1224.0016,24.9909); // Cameraposition
        
SetPlayerCameraLookAt(playerid,1975.2399,-1220.0157,25.0779);
        
SetPlayerFacingAngle(playerid,122.4500);
        
SetPlayerColor(playerid,0xA000FFFF); // Teamcolor
    
}
    else if(
classid == 1)
    {
        
gTeam[playerid] = GROVES;
        
GameTextForPlayer(playerid,"~w~Grove Street Famlilys",3000,5);
        
SetPlayerPos(playerid,2500.6060,-1672.1453,13.3512);
        
SetPlayerCameraPos(playerid,2507.0615,-1674.3574,13.3732);
        
SetPlayerCameraLookAt(playerid,2500.6060,-1672.1453,13.3512);
        
SetPlayerFacingAngle(playerid,252.4717);
        
SetPlayerColor(playerid,0x55FF00FF);
    }

How it can be done? All code working like a charm only this is my question.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)