[PEDIDO]Coordenadas.
#1

qeria um comando /irest e as coordenadas tao aki xD

x-736,41
y - 502,3898
z - 1371,977
Reply
#2

ta errado as Cordenadas.

й assim Olha

1 - Save
2 - Vai Criar um Arquivo
3 - vai aparecer:
pawn Код:
AddPlayerClass(ID, CORX,CORY,CORZ,ANGULO,ARMA,BALA,ARMA,BALA,ARMA,BALA);
vc ta pegando o id...
Reply
#3

pawn Код:
if(strcmp(cmdtext, "/irest", true) == 0) {
        if(IsPlayerInAnyVehicle(playerid)) {
        new VehicleID;
        VehicleID = GetPlayerVehicleID(playerid);
        GameTextForPlayer(playerid,"~w~Bem vindo a Estacionamento!", 2673, 10);
        SetVehiclePos(VehicleID,736.41,502.3898,1371.977);
        new pname[MAX_PLAYER_NAME];
        GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
        new string[80];
        format(string, sizeof(string), "[TELEPORTE]*** %s Foi Para Estacionamento | Comando: /IREST", pname);
        SendClientMessageToAll(0x0000BBAA, string);
        SetPlayerInterior(playerid,0);
        }else{
        new pname[MAX_PLAYER_NAME];
        GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
        SetPlayerInterior(playerid,0);
        SetPlayerPos(playerid,736.41,502.3898,1371.977);
        new string[80];
        format(string, sizeof(string), "[TELEPORTE]*** %s Foi Para Estacionamento | Comando: /IREST", pname);
        SendClientMessageToAll(0x0000BBAA, string);
        }
        PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
        return 1;
Reply
#4

Pqp, nгo sabe fazer um simples comando de teleporte?
pawn Код:
if (strcmp("/irest", cmdtext, true, 10) == 0)
    {
        SetPlayerPos(playerid, 736.41,502.3898,1371.977);
        SendClientMessage(playerid, -1, "Vocк veio atй o estacionamento!''");
        new string[64];
        new pName[MAX_PLAYER_NAME];
        GetPlayerName(playerid, pName, sizeof(pName));
        format(string, sizeof(string), "[SERVIDOR]: %s foi para o estacionamento.", pName);
        SendClientMessageToAll(0x008000AA, string);
        return 1;
    }
Se te ajudei, me da reput ae
Reply
#5

errada pq ? ele so boto "," ao invйs de "." creio eu


pawn Код:
if(strcmp(cmdtext,"/irest",true)==0)
{
       SetPlayerPos(playerid,736.41,502.3898,1371.977);
       SendClientMessage(playerid,-1,"Voce foi atй o /irest");
       return true;
}
Reply
#6

Af mano fika kieto , Eu nunca li um tutorial e sei mt coisa !
Reply
#7

Este local й um interior?
Se for, vб nele denovo e digite /interior e informe-nos o numero que aparecer.
Reply
#8

- - ' o poblema eq nao to conseguindo buga denovo - - '
Reply
#9

qual й o erro? explique melhor que vou ver se posso ajuda-lo
Reply
#10

dexa , nao e erro , eq eu buguei num interior no gta Sa normal ai usei um programa pra salva , entao sim e um interior
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)