[AJUDA] Teleportes Mod pista...
#3

pawn Код:
if(dialogid == 1112)//
    {
    if(response == 0)
        {
        return SendClientMessage(playerid, 0xFF9900AA, "Vocк fechou o dialog. ¬¬");
        }
        if(listitem == 0)
        {
        if(IsPlayerInAnyVehicle(playerid)) {
        new VehicleID;
        VehicleID = GetPlayerVehicleID(playerid);
        SetVehiclePos(VehicleID,-51.0139,-2439.0269,324.7329);
        new pname[MAX_PLAYER_NAME];
        new string [256];
        GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
        format(string, sizeof(string), "{FFFFFF}[{00FFFF}TELE{FFFFFF}]: {A470B4}%s{FFFFFF} foi para o Mod pista Sakina ~ ( {00FFFF}/ModPista{FFFFFF} )", pname);
        SendClientMessageToAll(0xFF9900AA, string);
        SetPlayerInterior(playerid,0);
        }
        else{
        new pname[MAX_PLAYER_NAME];
        new string [256];
        GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
        format(string, sizeof(string), "{FFFFFF}[{00FFFF}TELE{FFFFFF}]: {A470B4}%s{FFFFFF} foi para o Mod pista Sakina ~ ( {00FFFF}/ModPista{FFFFFF} )", pname);
        SendClientMessageToAll(0xFF9900AA, string);
        SetPlayerInterior(playerid,0);
        SetPlayerPos(playerid,-51.0139,-2439.0269,324.7329);
        }
        }
        if(listitem == 1)
        {
        if(IsPlayerInAnyVehicle(playerid)) {
        new VehicleID;
        VehicleID = GetPlayerVehicleID(playerid);
        SetVehiclePos(VehicleID,1146.0322,-2571.8264,12.2061);
        new pname[MAX_PLAYER_NAME];
        new string [256];
        GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
        format(string, sizeof(string), "{FFFFFF}[{00FFFF}TELE{FFFFFF}]: {A470B4}%s{FFFFFF} foi para o Mod pista Ebisu ~ ( {00FFFF}/ModPista{FFFFFF} )", pname);
        SendClientMessageToAll(0xFF9900AA, string);
        SetPlayerInterior(playerid,0);
        }
        else{
        new pname[MAX_PLAYER_NAME];
        new string [256];
        GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
        format(string, sizeof(string), "{FFFFFF}[{00FFFF}TELE{FFFFFF}]: {A470B4}%s{FFFFFF} foi para o Mod pista Ebisu ~ ( {00FFFF}/ModPista{FFFFFF} )", pname);
        SendClientMessageToAll(0xFF9900AA, string);
        SetPlayerInterior(playerid,0);
        SetPlayerPos(playerid,1146.0322,-2571.8264,12.2061);
        }
        }
        if(listitem == 2)
        {
        if(IsPlayerInAnyVehicle(playerid)) {
        new VehicleID;
        VehicleID = GetPlayerVehicleID(playerid);
        SetVehiclePos(VehicleID,566.3971,-801.1214,184.3314);
        new pname[MAX_PLAYER_NAME];
        new string [256];
        GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
        format(string, sizeof(string), "{FFFFFF}[{00FFFF}TELE{FFFFFF}]: {A470B4}%s{FFFFFF} foi para o Mod pista Akagi ~ ( {00FFFF}/ModPista{FFFFFF} )", pname);
        SendClientMessageToAll(0xFF9900AA, string);
        SetPlayerInterior(playerid,0);
        }
        else{
        new pname[MAX_PLAYER_NAME];
        new string [256];
        GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
        format(string, sizeof(string), "{FFFFFF}[{00FFFF}TELE{FFFFFF}]: {A470B4}%s{FFFFFF} foi para o Mod pista Akagi ~ ( {00FFFF}/ModPista{FFFFFF} )", pname);
        SendClientMessageToAll(0xFF9900AA, string);
        SetPlayerInterior(playerid,0);
        SetPlayerPos(playerid,566.3971,-801.1214,184.3314);
        }
        return 1;
        }
    }
Reply


Messages In This Thread
[AJUDA] Teleportes Mod pista... - by danktog - 10.08.2011, 18:45
Re: [AJUDA] Teleportes Mod pista... - by JonathanFeitosa - 10.08.2011, 20:07
Re: [AJUDA] Teleportes Mod pista... - by diretor7 - 11.08.2011, 05:37

Forum Jump:


Users browsing this thread: 2 Guest(s)