Cambiando de Posiciуn el Concesionario
#1

Buenas, Me preguntaba si tienen idea de cambiar la Posiciуn del Concesionario, mas bien, Estoy intentando cambiar el concesionario de Los Santos a San Fierro(en el gm de LA-RP), Ya que si compro un vehнculo en Los Santos no lo puedo vender en el Concesionario de San Fierro, Si me podrнa ayudar a que en el Concesionario de Los Santos no se puedan vender los vehнculos y en San Fierro si, si me ayudan se los agradecerнa ....

Gracias... xP
Reply
#2

Desconozco lo conocimientos que tienes, pero debes modificar esto:

pawn Код:
public IsAtDealership(playerid)
{
    if(IsPlayerConnected(playerid))
    {
        if(IsPlayerInRangeOfPoint(playerid, 125, 2128.0864,-1135.3912,25.5855) || IsPlayerInRangeOfPoint(playerid, 50,537.3366,-1293.2140,17.2422) || IsPlayerInRangeOfPoint(playerid, 50, 299.1723,-1518.6627,24.6007) || IsPlayerInRangeOfPoint(playerid, 75, 2781.0132,-1613.7152,10.9219) || IsPlayerInRangeOfPoint(playerid, 75, 1756.2378,-2546.2749,13.5469) || IsPlayerInRangeOfPoint(playerid, 75, 2520.0972,-1519.7384,23.9370))
        {
            return 1;
        }
    }
    return 0;
}
Si sabes emplear los "IsPlayerInRangeOfPoint" no deberнa haber problema, quitas y pones las coordenadas que quieras. Si no sabes hacerlo te lo explico yo o cualquier otro.
Reply
#3

:O increible gracias por la info
Reply
#4

Quote:
Originally Posted by Dws
Посмотреть сообщение
Desconozco lo conocimientos que tienes, pero debes modificar esto:

pawn Код:
public IsAtDealership(playerid)
{
    if(IsPlayerConnected(playerid))
    {
        if(IsPlayerInRangeOfPoint(playerid, 125, 2128.0864,-1135.3912,25.5855) || IsPlayerInRangeOfPoint(playerid, 50,537.3366,-1293.2140,17.2422) || IsPlayerInRangeOfPoint(playerid, 50, 299.1723,-1518.6627,24.6007) || IsPlayerInRangeOfPoint(playerid, 75, 2781.0132,-1613.7152,10.9219) || IsPlayerInRangeOfPoint(playerid, 75, 1756.2378,-2546.2749,13.5469) || IsPlayerInRangeOfPoint(playerid, 75, 2520.0972,-1519.7384,23.9370))
        {
            return 1;
        }
    }
    return 0;
}
Si sabes emplear los "IsPlayerInRangeOfPoint" no deberнa haber problema, quitas y pones las coordenadas que quieras. Si no sabes hacerlo te lo explico yo o cualquier otro.
Gracias por su ayuda ...! Exacto a lo que necesitaba...
Reply
#5

U.u si me dieran una ayuda xD...! "IsPlayerInRangeOfPoint"



EDIT: Bueno, ya lo eh superado.. al Igual Gracias por su ayuda.. QUe fue muy util..!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)