Csinálni szerettem volna a gangwar módomra egy olyat,hogy leraktam egy pickupot amibe ha belemész bedob egy házba amit setplayerpossal oldottam meg de valamiért máshova dobja:
new bejarat1;
new bejarat2;
new bejarat3;
new bejarat4;
new bejarat5;
new bejarat6;
new bejarat7;
new bejarat8;
new bejarat9;
new bejarat10;
new bejarat11;
new bejarat12;
new bejarat13;
new bejarat14;
new bejarat15;
new bejarat16;
new bejarat17;
bejarat1= CreatePickup(1318,1,2495.3301,-1690.2500,14.7656,0);
bejarat2= CreatePickup(1318,1,2514.1826,-1691.4292,14.0460,0);
bejarat3= CreatePickup(1318,1,2523.2698,-1679.3821,15.4970,0);
bejarat4= CreatePickup(1318,1,2524.7048,-1658.7211,15.8240,0);
bejarat5= CreatePickup(1318,1,2513.7568,-1650.2887,14.3557,0);
bejarat6= CreatePickup(1318,1,2498.5352,-1642.2555,14.1131,0);
bejarat7= CreatePickup(1318,1,2486.5168,-1644.5315,14.0772,0);
bejarat8= CreatePickup(1318,1,2459.4653,-1691.0349,13.5452,0);
bejarat9= CreatePickup(1318,1,2465.2319,-1995.7614,14.0193,0);
bejarat10= CreatePickup(1318,1,2483.3979,-1999.1801,13.8343,0);
bejarat11= CreatePickup(1318,1,2508.2043,-1998.3673,13.9025,0);
bejarat12= CreatePickup(1318,1,2524.3872,-1998.3455,14.1131,0);
bejarat13= CreatePickup(1318,1,2522.7004,-2019.0516,14.0744,0);
bejarat14= CreatePickup(1318,1,2507.7974,-2021.0513,14.2101,0);
bejarat15= CreatePickup(1318,1,2486.4783,-2021.5352,13.9988,0);
bejarat16= CreatePickup(1318,1,2465.2971,-2020.7871,14.1242,0);
bejarat17= CreatePickup(1318,1,2437.7598,-2020.8326,13.9025,0);
public OnPlayerPickUpPickup( playerid, pickupid )
{
if( pickupid == bejarat1 )
{
SetPlayerPos(playerid,2496.049804,-1695.238159,1014.742187);
}
if( pickupid == bejarat2 )
{
SetPlayerPos(playerid,2496.049804,-1695.238159,1014.742187);
}
if( pickupid == bejarat3 )
{
SetPlayerPos(playerid,2496.049804,-1695.238159,1014.742187);
}
if( pickupid == bejarat4 )
{
SetPlayerPos(playerid,2496.049804,-1695.238159,1014.742187);
}
if( pickupid == bejarat5 )
{
SetPlayerPos(playerid,2496.049804,-1695.238159,1014.742187);
}
if( pickupid == bejarat6 )
{
SetPlayerPos(playerid,2496.049804,-1695.238159,1014.742187);
}
if( pickupid == bejarat7 )
{
SetPlayerPos(playerid,2496.049804,-1695.238159,1014.742187);
}
if( pickupid == bejarat8 )
{
SetPlayerPos(playerid,2496.049804,-1695.238159,1014.742187);
}
if( pickupid == bejarat9 )
{
SetPlayerPos(playerid,2496.049804,-1695.238159,1014.742187);
}
if( pickupid == bejarat10 )
{
SetPlayerPos(playerid,2496.049804,-1695.238159,1014.742187);
}
if( pickupid == bejarat11 )
{
SetPlayerPos(playerid,2527.654052,-1679.388305,1015.498596);
}
if( pickupid == bejarat12 )
{
SetPlayerPos(playerid,2527.654052,-1679.388305,1015.498596);
}
if( pickupid == bejarat13 )
{
SetPlayerPos(playerid,2527.654052,-1679.388305,1015.498596);
}
if( pickupid == bejarat14 )
{
SetPlayerPos(playerid,2527.654052,-1679.388305,1015.498596);
}
if( pickupid == bejarat15 )
{
SetPlayerPos(playerid,2527.654052,-1679.388305,1015.498596);
}
if( pickupid == bejarat16 )
{
SetPlayerPos(playerid,2527.654052,-1679.388305,1015.498596);
}
if( pickupid == bejarat17 )
{
SetPlayerPos(playerid,527.654052,-1679.388305,1015.498596);
}
return 1;
}
A módból ezeket másoltam ki,szóval mért dob máshova? amikor belemék elkezdek zuhanni.