[PEDIDO]Comando
#3

Quote:
Originally Posted by Pedro_Miranda
Посмотреть сообщение
pawn Код:
CMD:trazerorg(playerid,params[])
{
    if(isnull(params))
        return SendClientMessage(playerid, "Use /trazerorg [id da org]");
    new org = strval(params);
    new Float:x, Float:y, Float:z;
    GetPlayerPos(playerid, x, y, z);
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i) && variaveldeorg[i] == org)
        {
            SetPlayerVirtualWorld(i, GetPlayerVirtualWorld(playerid));
            SetPlayerInterior(i, GetPlayerInterior(playerid));
            SetPlayerPos(i, x, y, z);
        }
    }
    return 1;
}
Deu mt certo aqui nгo cara, pq to definindo as orgs pelo PlayerInfo!
Reply


Messages In This Thread
[PEDIDO]Comando - by .ThePro - 08.04.2012, 00:31
Re: [PEDIDO]Comando - by Jason` - 08.04.2012, 00:36
Re: [PEDIDO]Comando - by .ThePro - 08.04.2012, 00:40
Re: [PEDIDO]Comando - by Jason` - 08.04.2012, 00:53

Forum Jump:


Users browsing this thread: 1 Guest(s)