[Ajuda] TextDraw
#7

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");
}
Reply


Messages In This Thread
TextDraw - by dreiklol - 02.10.2013, 10:36
Re: TextDraw - by Mteck - 02.10.2013, 10:37
Re: TextDraw - by dreiklol - 02.10.2013, 10:53
Re: TextDraw - by Mteck - 02.10.2013, 11:03
Re: TextDraw - by dreiklol - 02.10.2013, 11:59
Re: TextDraw - by Mteck - 02.10.2013, 12:03
Re: TextDraw - by dreiklol - 02.10.2013, 12:09
Re: TextDraw - by Mteck - 02.10.2013, 12:20
Re: TextDraw - by dreiklol - 02.10.2013, 12:56
Re: TextDraw - by Mteck - 02.10.2013, 13:04

Forum Jump:


Users browsing this thread: 1 Guest(s)