[Ajuda] Stock com argumentos
#1

Quero criar um stock para teleportar o jogador. Porйm quero que esse stock peзa o X Y Z e ANGULO, tipo
Код:
teleportar(playerid, X, Y, Z, A)
Obrigado.
Reply
#2

pawn Код:
#define SetarPlayer(%0,%1,%2, %3, %4)  \
        SetPlayerPos(%0, %1, %2, %3), SetPlayerFacingAngle(%0, %4)
pawn Код:
SetarPlayer(playerid, X, Y, Z, ANGULO);
Reply
#3

pawn Код:
#define Teleport(%0,%1,%2,%3,%4)  SetPlayerPos(%0,%1,%2,%3);\
        SetPlayerFacingAngle(%0,%4)



Teleport(playerid, x,y,z, a);
Reply
#4

Mais nгo terб sу isso no teleporte, eu irei verificar se o jogador й motorista e etc.
Reply
#5

A board portuguesa chegou a esse ponto?
Reply
#6

Quote:
Originally Posted by Jonathan_Feitosa
Посмотреть сообщение
pawn Код:
#define SetarPlayer(%0,%1,%2, %3, %4)  \
        SetPlayerPos(%0, %1, %2, %3), SetPlayerFacingAngle(%0, %4)
pawn Код:
SetarPlayer(playerid, X, Y, Z, ANGULO);
hm...



Quote:
Originally Posted by Sky_.
Посмотреть сообщение
pawn Код:
#define Teleport(%0,%1,%2,%3,%4)  SetPlayerPos(%0,%1,%2,%3);\
        SetPlayerFacingAngle(%0,%4)



Teleport(playerid, x,y,z, a);
os dois n й igual kkk

@topico sу vocк definir o state dele Player_state_driver IsPlayerInVehicle

acho que isso!
Reply
#7

Quote:
Originally Posted by Jay_McReary
Посмотреть сообщение
A board portuguesa chegou a esse ponto?
Nгo entendi..
Reply
#8

cara olha o que vc pede atй que й uma duvida legal de se responder mais depois olha o que vc fala!

Quote:
Originally Posted by AndrePls
Посмотреть сообщение
Mais nгo terб sу isso no teleporte, eu irei verificar se o jogador й motorista e etc.
se n quer mais nada nй?
Reply
#9

Recomendo vocк rever meu tutorial:
http://forum.sa-mp.com/showthread.ph...16#post2249016
Reply
#10

Quote:
Originally Posted by AndrePls
Посмотреть сообщение
Nгo entendi..
Sabia, pois eu te explico:

O prefixo [Ajuda] tem no total(atй agora) 4174 tуpicos, sу de ajudas bobas, como essa.
4174 tуpicos de ajuda em 209 paginas.
O tуpico de Lanзamentos sу tem a metade disso (pelo que eu me lembre nem chega a ser metade).

Sabe o por que disso? Porque gente como vocк nгo esta nem aн pra pesquisar.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)