public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid,2134.5515,1441.3939,10.8203);
SetPlayerFacingAngle (playerid,697.6796);
SetPlayerCameraPos(playerid,2028.7977,1342.8109,10.8203);
SetPlayerCameraLookAt(playerid,2040.2272,1342.6509,10.6719
switch(classid)
{
case 0,1,2,3,4:
}
gTeam[playerid] = TEAM_GROVE;
{
case 5,6,7:
}
gTeam[playerid] = TEAM_BALLAS;
{
case 8,9,10:
}
gTeam[playerid] = TEAM_VAGOS;
{
case 11,12,13:
}
gTeam[playerid] = TEAM_LCN;
{
case 14,15,16:
}
gTeam[playerid] = TEAM_TRIADEN;
{
case 17,18,19:
}
gTeam[playerid] = TEAM_COP;
default: return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
return 1;
}