[AJUDA]Teletransporte
#5

pawn Код:
if (strcmp("/comando", cmdtext, true) == 0)
{
    SetPlayerPos(playerid, X, Y, Z);
    return 1;
}
pawn Код:
AddPlayerClass(skin, X, Y, Z, Angulo, Arma1, municaoArma1, Arma2, municaoArma2, Arma3, municaoArma3);

No teu caso:

AddPlayerClass(0,-313.4185,1536.1903,75.5625,155.9747,0,0,0,0,0,0); // drift

Vermelho: X
Verde: Y
Laranja: Z

pawn Код:
if (strcmp("/pd1", cmdtext, true) == 0)
{
    SetPlayerPos(playerid, -313.4185, 1536.1903, 75.5625);
    return 1;
}
Se quiseres tambйm podes utilizar o вngulo.

AddPlayerClass(0,-313.4185,1536.1903,75.5625,155.9747,0,0,0,0,0,0); // drift

Lilбs: Вngulo.

Ficaria entгo no teu caso:

pawn Код:
if (strcmp("/pd1", cmdtext, true) == 0)
{
    SetPlayerPos(playerid, -313.4185, 1536.1903, 75.5625);
    SetPlayerFacingAngle(playerid, 155.9747);
    return 1;
}
Reply


Messages In This Thread
[AJUDA]Teletransporte - by duany123 - 29.05.2010, 23:17
Re: [AJUDA]Teletransporte - by [NWD]Tweener_ - 29.05.2010, 23:24
Re: [AJUDA]Teletransporte - by Lipepva - 29.05.2010, 23:38
Re: [AJUDA]Teletransporte - by duany123 - 29.05.2010, 23:39
Re: [AJUDA]Teletransporte - by russo666 - 29.05.2010, 23:49
Re: [AJUDA]Teletransporte - by andmeida10 - 30.05.2010, 13:19
Re: [AJUDA]Teletransporte - by [NWD]Tweener_ - 30.05.2010, 13:28
Re: [AJUDA]Teletransporte - by russo666 - 30.05.2010, 16:02

Forum Jump:


Users browsing this thread: 1 Guest(s)