[Pedido]Spawn Player Profissao.
#1

Bom Gostaria de saber Como que faзo para o player spawna Na HQ da proffissao.
Tipo fiz tudo e talz os comandos. tudo que precisa. =).
Mais Meu Serve assim que loga ele nao spawna na profissao.
e sim no local normal do spawn !
Como que faзo quando o player tem profissao ele spawna na profissao ?
Caso Precise de algum CODE sу falar =)
Reply
#2

Um Exemplo
PHP код:
if (Profissao[playerid] == 1)
{
SetPlayerPos(playeridX,Y,Z);
}
else if (
Profissao[playerid] == 0)
{
SetPlayerPos(playerid,X,Y,Z);
return 
1;

Reply
#3

Quote:
Originally Posted by 4LiSs0N
Посмотреть сообщение
Um Exemplo
PHP код:
if (Profissao[playerid] == 1)
{
SetPlayerPos(playeridZ,Y,Z);
}
else if (
Profissao[playerid] == 0)
{
SetPlayerPos(playerid,X,Y,Z);
return 
1;

No SetPlayerPos, vc colocou Z,Y,Z em vez de X, Y,Z
Reply
#4

@lyllrasta
Ou Olha iSso https://sampforum.blast.hk/showthread.php?tid=136198
@KinX
edited Vlw pelo aviso Rsrs
Reply
#5

Quote:
Originally Posted by 4LiSs0N
Посмотреть сообщение
@lyllrasta
Ou Olha iSso https://sampforum.blast.hk/showthread.php?tid=136198
@KinX
edited Vlw pelo aviso Rsrs
Quote:
Originally Posted by 4LiSs0N
Посмотреть сообщение
Um Exemplo
PHP код:
if (Profissao[playerid] == 1)
{
SetPlayerPos(playeridX,Y,Z);
}
else if (
Profissao[playerid] == 0)
{
SetPlayerPos(playerid,X,Y,Z);
return 
1;

Tenta os 2.
Se funfar + rep pra tu =)
Reply
#6

Quote:
Originally Posted by 4LiSs0N
Посмотреть сообщение
Um Exemplo
PHP код:
if (Profissao[playerid] == 1)
{
SetPlayerPos(playeridX,Y,Z);
}
else if (
Profissao[playerid] == 0)
{
SetPlayerPos(playerid,X,Y,Z);
return 
1;

Man Mais Tipo isso й dentro da public Spawn ?
Reply
#7

em Onplayerspawn
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)