TextDraw -
dreiklol - 02.10.2013
Eae Pessoal.Dnovo To Aki Perdido Ajuda De Vcs.
Eu Queria Sabe Como Colocar Essas Imagem De Entrada Alguйm Pode Me Ajuda.
Re: TextDraw -
Mteck - 02.10.2013
Deagle postou um Tutorial
https://sampforum.blast.hk/showthread.php?tid=331395
Re: TextDraw -
dreiklol - 02.10.2013
Quote:
Originally Posted by Mteck
|
Deu Essse Erro
Код:
C:\Users\DreikLOL\Desktop\Original\trabalho\Dreik\gamemodes\ZNS.pwn(6271) : error 021: symbol already defined: "TextDrawShowForPlayer"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Linha
Код:
6271 - TextDrawShowForPlayer(playerid, ImagemEntrada);
Re: TextDraw -
Mteck - 02.10.2013
Poste o cуdigo..
"DIZ QUE JБ ESTA DEFINIDO"
Parece que vocк jб tem, precisa prestar mais um pouco de atenзгo, antes de postar algo tentar procurar no ******..
Re: TextDraw -
dreiklol - 02.10.2013
Quote:
Originally Posted by Mteck
Poste o cуdigo..
"DIZ QUE JБ ESTA DEFINIDO"
|
Valeu rsrsr
Aproveitando A Questгo Como Coloco Pra Munda O Lugar De Logar
Mals Mano Mais Nao Tenho Й Que Tava Definido Outro, Mais Era Pra KICKI OU BAN Tava Escrito Isso La.
Re: TextDraw -
Mteck - 02.10.2013
Posta sua OnplayerSpawn
Re: TextDraw -
dreiklol - 02.10.2013
Quote:
Originally Posted by Mteck
Posta sua OnplayerSpawn
|
Mano Me Ajuda A Colocar O Cara Pra Logar Em Outro Lugar Por Favor.
TA AI.
Код:
public OnPlayerSpawn(playerid)
{
TextDrawHideForPlayer(playerid, ImagemEntrada);
StopAudioStreamForPlayer(playerid);
SNP2[playerid] = false;
ChamadoParaX1Por[playerid] = -1;
CX1Tipo[playerid] = 0;
AFK[playerid] = false;
cmdtick[playerid] = 0;
Arena[playerid] = 0;
ArenaKills[playerid] = 0;
if(ArenaTipo[playerid] == 3){X1 = X1-1;ArenaTipo[playerid] = 0;} //X1 RUN
if(ArenaTipo[playerid] == 8){X1W = X1W-1;ArenaTipo[playerid] = 0;} //X1 WALK
KillTimer(TimerSoltar[playerid]);
ArenaTipo[playerid] = 0;
Reparar[playerid] = 0;
NoEvento[playerid] = 0;
VPlayerMissao[playerid] = 0;
DistanciaMis[playerid] = 0;
DistanciaMis2[playerid] = 0;
StuntSuperSpeed[playerid] = false;
StopKillSpree(playerid);
if(cor[playerid] != 0){
SetPlayerColor(playerid, cor[playerid]);}
if(skin[playerid] != 0){
SetPlayerSkin(playerid, skin[playerid]);}
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid, 0);
SetPlayerInterior(playerid,0);
GivePlayerWeapon(playerid,4,0);
if(MostrandoStatus[playerid] == 1){TextDrawShowForPlayer(playerid,Status[playerid]);}
TextDrawHideForPlayer(playerid, Textdraw5);
TextDrawHideForPlayer(playerid, Textdraw6);
TextDrawHideForPlayer(playerid, Textdraw7);
TextDrawShowForPlayer(playerid, Textdraw10);
TextDrawShowForPlayer(playerid, Textdraw1);
TextDrawShowForPlayer(playerid, Textdraw3);
TextDrawHideForPlayer(playerid, TxDNotificador);
TextDrawShowForPlayer(playerid, TxDNotificador);
//PlayerPlaySound( playerid, 1188, 0.0, 0.0, 0.0 );
SetPlayerHealth(playerid,100.0);
SetPlayerArmour(playerid,0.0);
//SPAWNS
if(PlayerCustomSpawn[playerid] == 1)
{
SetPlayerInterior(playerid, PlayerCustomSpawn_I[playerid]);
SetPlayerFacingAngle(playerid,PlayerCustomSpawn_F[playerid]);
SetPlayerPos(playerid,PlayerCustomSpawn_X[playerid],PlayerCustomSpawn_Y[playerid],PlayerCustomSpawn_Z[playerid]);
SetCameraBehindPlayer(playerid);
SendClientMessage(playerid, COLOUR_DICA,"{FF0000}[INFO]: {A020F0}Para nascer no local padrгo digite: {FF0000}/MSP");
}else{
new rand = random(sizeof(BloodySpawns));
SetPlayerPos(playerid, BloodySpawns[rand][0], BloodySpawns[rand][1], BloodySpawns[rand][2]);
SetPlayerFacingAngle(playerid,BloodySpawns[rand][3]);
SetCameraBehindPlayer(playerid);
SendClientMessage(playerid, COLOUR_DICA,"{FF0000}[INFO]: {A020F0}Vocк pode escolher um local para nascer digitando: {FF0000}/MSP");
}
Re: TextDraw -
Mteck - 02.10.2013
Me desculpe, procure por essa callback
pawn Код:
public SetupPlayerForClassSelection(playerid)
{
new classstatus = CallRemoteFunction("ClassPosition", "i", playerid);
if(classstatus != 1){
// CLASS
/*SetPlayerInterior(playerid,12);
SetPlayerPos(playerid, 2324.397705, -1141.762573, 1050.983520);
SetPlayerFacingAngle(playerid, 182.187652);
SetPlayerCameraLookAt(playerid, 2324.397705, -1141.762573, 1050.983520);
SetPlayerCameraPos(playerid, 2324.397705 + (5 * floatsin(-182.187652, degrees)), -1141.762573 + (5 * floatcos(-182.187652, degrees)), 1050.983520);*/
SetPlayerInterior(playerid,1);
SetPlayerPos(playerid, 2235.768310, 1632.708129, 1008.359375);
SetPlayerFacingAngle(playerid, 0.110143);
SetPlayerCameraLookAt(playerid, 2235.768310, 1632.708129, 1008.359375);
SetPlayerCameraPos(playerid, 2235.768310 + (5 * floatsin(-0.110143, degrees)), 1632.708129 + (5 * floatcos(-0.110143, degrees)), 1008.359375);
ApplyAnimation(playerid,"DANCING","DNCE_M_B",4.0,1,0,0,0,-1);
}
TextDrawShowForPlayer(playerid, Textdraw5);
TextDrawShowForPlayer(playerid, Textdraw6);
TextDrawShowForPlayer(playerid, Textdraw7);
//ApplyAnimation(playerid,"DEALER","DEALER_IDLE",4.0,1,0,0,0,0);
}
Vocк precisa pegar a coordenada in-game.. usando /save
Re: TextDraw -
dreiklol - 02.10.2013
Vlw Mano Deu Certo. Tem Como Eu Ver Essa Imagem de loadsc Em Algum Site.
Re: TextDraw -
Mteck - 02.10.2013
Tem o Loadsc0 atй o Loadsc14 ai й sу tu ver qual й melhor, tem um metodo mas esqueci como й.