14.09.2011, 17:19
Well i was wondering if it's possible to make a Class on the Class selection Locked for a Certain Player, Something like this, But player specified?
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
if(classid == 0)
{
SetPlayerPos(playerid, 2375.7463,-1645.9944,13.5322);
SetPlayerCameraPos(playerid, 2375.9658,-1647.8722,13.5405);
SetPlayerCameraLookAt(playerid, 2375.7463,-1645.9944,13.5322);
GameTextForPlayer(playerid, "~g~EastSide Guerillas", 5000, 5);
SetPlayerColor(playerid, 0x2D964DFF);
SetPlayerFacingAngle(playerid, 180.000);
ApplyAnimation(playerid, "RAPPING", "Laugh_01", 4.0, 0, 0, 0, 0, 0);
//2nd Line - 2375.7463,-1645.9944,13.5322
//Add the locked class functions here, or something :\
}
}