05.11.2015, 12:52
(
Последний раз редактировалось Lуs; 05.11.2015 в 20:24.
)
Olб, gostaria de saber como faзo para aparecer o nome de cada classe ao o player escolher... por um tempo de 3 segundos
Код:
public OnGameModeInit() { UsePlayerPedAnims(); /* Para Correr */ DisableInteriorEnterExits(); /* Desativando Interiores */ AddPlayerClass(105,2517.8335,-1676.8845,14.2800,62.7035,0,0,0,0,0,0); // SKIN GROOVE AddPlayerClass(106,2517.8335,-1676.8845,14.2800,62.7035,0,0,0,0,0,0); // SKIN GROOVE AddPlayerClass(107,2517.8335,-1676.8845,14.2800,62.7035,0,0,0,0,0,0); // SKIN GROOVE AddPlayerClass(102,2216.3179,-1343.0271,23.9839,172.6466,0,0,0,0,0,0); // BALLAS AddPlayerClass(103,2216.3179,-1343.0271,23.9839,172.6466,0,0,0,0,0,0); // BALLAS AddPlayerClass(104,2216.3179,-1343.0271,23.9839,172.6466,0,0,0,0,0,0); // BALLAS AddPlayerClass(108,2790.8638,-2008.2262,13.5547,267.1283,0,0,0,0,0,0); // VAGOS AddPlayerClass(109,2790.8638,-2008.2262,13.5547,267.1283,0,0,0,0,0,0); // VAGOS AddPlayerClass(110,2790.8638,-2008.2262,13.5547,267.1283,0,0,0,0,0,0); // VAGOS AddPlayerClass(280,1544.6368,-1631.8610,13.3828,269.2735,0,0,0,0,0,0); // POLICIA AddPlayerClass(283,1544.6368,-1631.8610,13.3828,269.2735,0,0,0,0,0,0); // POLICIA AddPlayerClass(285,1544.6368,-1631.8610,13.3828,269.2735,0,0,0,0,0,0); // POLICIA AddPlayerClass(29,1273.0085,-827.1713,83.2008,222.9273,0,0,0,0,0,0); // ANONYMOUS AddPlayerClass(259,1273.0085,-827.1713,83.2008,222.9273,0,0,0,0,0,0); // ANONYMOUS AddPlayerClass(289,1273.0085,-827.1713,83.2008,222.9273,0,0,0,0,0,0); // ANONYMOUS
Код:
public OnPlayerRequestClass(playerid, classid) { TextDrawHideForPlayer(playerid, Textdraw0); SetPlayerPos(playerid, 1026.3941, -2181.1584, 40.8012); SetPlayerInterior(playerid, 0); SetPlayerFacingAngle(playerid, 1.6982); SetPlayerCameraPos(playerid, 1022.8941, -2177.1584, 42.3012); SetPlayerCameraLookAt(playerid, 1027.0232, -2179.7837, 40.4760); ApplyAnimation(playerid,"DANCING","DAN_LOOP_A",4.0,1,0,0,0,-1); return 1; }