[AYUDA]No Puedo Cambiar Spawn De Armas
#1

Quiero cambiar el spawn de estas armas
Quote:
AddStaticPickup(371, 15, -320.800262,2742.728759,62.952674); //para
AddStaticPickup(373, 15, 384.733917,2472.126708,16.500000); //para
AddStaticPickup(352, 15, 384.733917,2470.126708,16.500000); //para
AddStaticPickup(351, 15, 384.733917,2468.126708,16.500000); //para
AddStaticPickup(350, 15, 384.733917,2466.126708,16.500000); //para
AddStaticPickup(349, 15, 384.733917,2464.126708,16.500000); //para
AddStaticPickup(348, 15, 384.733917,2462.126708,16.500000); //para
AddStaticPickup(344, 15, 384.733917,2460.126708,16.500000); //para
AddStaticPickup(342, 15, 384.733917,2458.126708,16.500000); //para
AddStaticPickup(359, 15, 384.733917,2456.126708,16.500000); //para
AddStaticPickup(358, 15, 384.733917,2454.126708,16.500000); //para
AddStaticPickup(357, 15, 384.733917,2452.126708,16.500000); //para
AddStaticPickup(356, 15, 384.733917,2450.126708,16.500000); //para
AddStaticPickup(366, 15, 384.733917,2448.126708,16.500000); //para
AddStaticPickup(367, 15, 384.733917,2446.126708,16.500000); //para
AddStaticPickup(365, 15, 384.733917,2444.126708,16.500000); //para
AddStaticPickup(364, 15, 384.733917,2442.126708,16.500000); //para
AddStaticPickup(363, 15, 384.733917,2440.126708,16.500000); //para

intente saver las cordenadas con/save pero ps no entiendo, diganme como ponerla plz
esta es la supuesta cordenada pero no se ponerla ya intente varias maneras
AddPlayerClass(287,202.0044,1867.6641,13.1406,268. 5246,0,0,0,0,0,0);
se que es algo asi :
(model, type, Float:X, Float:Y, Float:Z, Virtualworld)
model The model of the pickup.
type The pickup spawn type, see further down this page.
Float:X The X coordinate to create the pickup at.
Float:Y The Y coordinate to create the pickup at.
Float:Z The Z coordinate to create the pickup at.
virtualworld The virtual world ID of the pickup. Use -1 to show the pickup in all worlds.
pero no entiendo D: plz expliquenme ,,,cuando intento exportar el amx dice errores :/

HELP!
Reply
#2

AddPlayerClass(287,202.0044,1867.6641,13.1406,268. 5246,0,0,0,0,0,0);

287, 202.0044, 1867.6641, 13.1406, 268.5246
Skin, PosX, PosY, PosZ, Angulo
Reply
#3

Quote:
Originally Posted by Nicolas_Castillo
Посмотреть сообщение
AddPlayerClass(287,202.0044,1867.6641,13.1406,268. 5246,0,0,0,0,0,0);

287, 202.0044, 1867.6641, 13.1406, 268.5246
Skin, PosX, PosY, PosZ, Angulo
Gracias por responerme man pero aver todavia no entiendo,
seria:
AddPlayerClass(287(skin),202.0044(x),1867.6641(y), 13.1406,268.(z) 5246,0,0,0,0,0,0(angulo) seria asi ? , perdona mi ignorancia xD
entonces para cambiar este por ejemplo como le ago:
AddPlayerClass(287,202.0044,1867.6641,13.1406,268. 5246,0,0,0,0,0,0);
por este, lo ago y quiero exportar .amx y sale error
[AddStaticPickup(363, 15, 384.733917,2440.126708,16.500000);
Reply
#4

Esto es asн:

pawn Код:
AddPlayerClass(287,202.0044,1867.6641,13.1406,268. 5246,0,0,0,0,0,0);
287: El Skin 202.0044: Posiciуn X 1867.6641: Posiciуn Y 13.1406: Posiciуn Z 268. 5246: Бngulo 0: Primer Arma
0: Municiуn del Primer Arma 0: Segunda Arma 0: Municiуn de la Segunda Arma 0: Tercera Arma 0: Municiуn de la Tercera Arma
Reply
#5

Quote:
Originally Posted by Nicolas_Castillo
Посмотреть сообщение
AddPlayerClass(287,202.0044,1867.6641,13.1406,268. 5246,0,0,0,0,0,0);

287, 202.0044, 1867.6641, 13.1406, 268.5246
Skin, PosX, PosY, PosZ, Angulo
Quote:
Originally Posted by OwlCity
Посмотреть сообщение
Esto es asн:

pawn Код:
AddPlayerClass(287,202.0044,1867.6641,13.1406,268. 5246,0,0,0,0,0,0);
287: El Skin 202.0044: Posiciуn X 1867.6641: Posiciуn Y 13.1406: Posiciуn Z 268. 5246: Бngulo 0: Primer Arma
0: Municiуn del Primer Arma 0: Segunda Arma 0: Municiуn de la Segunda Arma 0: Tercera Arma 0: Municiуn de la Tercera Arma
gracias man lo intento
Reply
#6

Bien quieres crear pickups, їNo?

Te darй un ejemplo fбcil ya cuando hallas sacado las coordenadas (:

pawn Код:
new PickArma;

public OnGameModeInit()
{
    PickArma = CreatePickup(1242, 2, 1503.3359, 1432.3585, 10.1191, -1);
    return 1
}
 
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == PickArma) GivePlayerMoney(playerid,10000);
    return 1;
}
Como ves ahн en el script definн el PickUp y creamos la funciуn que harб al entrar (acciуn), en este caso, darб dinero.

Para ver los iconos de pickups: https://sampwiki.blast.hk/wiki/Game_Obje...ist#Object_IDs
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)