#1

How to make a class system?
I try to make it but not work
Reply
#2

Here for ya !

i just ******d " Class System samp " and i found it, try to be more standalone
Reply
#3

pawn Code:
SetupPlayerForClassSelection(playerid)
{
    SetPlayerInterior(playerid,14);
    SetPlayerPos(playerid,258.4893,-41.4008,1002.0234);
    SetPlayerFacingAngle(playerid, 270.0);
    SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234);
    SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234);
}

public OnPlayerRequestClass(playerid, classid)
{
    SetupPlayerForClassSelection(playerid);
    return 1;
}
pawn Code:
public OnGameModeInit()
{
    SetGameModeText("SA:MP Server");
    AddPlayerClass(265,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
        AddPlayerClass(241,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
    return 1;
}
Credits to SAMP :P
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)