27.12.2013, 16:15
(
Последний раз редактировалось Paraguay; 27.12.2013 в 19:40.
)
Buenas samp forum and haciendo una cosa en mi servidor que al comprar la casa tenga un garaje que eso ya lo tengo todo bn pero eske yo tengo un comando y un mapeo de un garaje y lo que pasa eske si tengo que crear un garaje por cada casa que pongo el comando seria muy largo todo las garaje que crear se que havia algo de un mundo virtual o algo asi pero nose como hacerlo si me pueden explicar
tengo mi comando para entrar nomas ahi dos casas porque primero querнa aprender como hacer lo otro
y digamos este es el mapeo del garaje (que nos es mio :P)
lo que quiero saver es como hacer para no estas poniendo todo el rato el garaje en otras parte y con el comando ir al mismo sitio pero otro mundo virtual :P
nose si me explico bn pero si no dйjenme un mensaje y lo explico mejor
tengo mi comando para entrar nomas ahi dos casas porque primero querнa aprender como hacer lo otro
Quote:
zcmd(entrargaraje, playerid, params[]){ if(PlayerInfo[playerid][pPhousekey] == 173) if(PlayerToPoint(20, playerid, 282.4087, -1320.0449, 56.9484)){ if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER){ SetVehiclePos(GetPlayerVehicleID(playerid), 2971.5518,-1594.5862,789.8303);} else{ SetPlayerPos(playerid, 2971.5518,-1594.5862,789.8303); } } if(PlayerInfo[playerid][pPhousekey] == 172) if(PlayerToPoint(20, playerid, 282.4087, -1320.0449, 56.9484)){ if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER){ SetVehiclePos(GetPlayerVehicleID(playerid), 2971.5518,-1594.5862,789.8303);} else{ SetPlayerPos(playerid, 2971.5518,-1594.5862,789.8303); } } else Message(playerid, COLOR_GREY,"Usted no tiene Casa Con Garaje"); return 1; } |
Quote:
CreateDynamicObject(19456, 598.65002, 1665.88000, 7.68000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19456, 598.65002, 1675.51001, 7.68000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19456, 590.37000, 1665.88000, 7.68000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(10282, 594.69000, 1666.51001, 7.00000, 0.00000, 0.00000, 180.00000); CreateDynamicObject(19456, 593.76001, 1661.16003, 7.68000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19456, 590.37000, 1675.51001, 7.68000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19456, 584.21997, 1661.16003, 11.20000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19456, 579.46002, 1665.87000, 7.68000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19456, 579.46002, 1675.51001, 7.68000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(14679, 579.94476, 1669.21863, 6.41000, 0.00000, 0.00000, 180.00000); CreateDynamicObject(2025, 580.01001, 1665.33997, 5.99000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2025, 580.01001, 1667.22998, 5.99000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19449, 588.90723, 1672.39221, 7.54000, -20.00000, 90.00000, 0.00000); CreateDynamicObject(19449, 592.16998, 1666.05005, 9.36000, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19449, 585.47998, 1662.81995, 9.18000, 0.00000, 90.00000, 90.00000); CreateDynamicObject(3850, 582.40997, 1667.70996, 9.77000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3850, 585.85999, 1667.70996, 9.77000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(3850, 580.72998, 1665.98999, 9.77000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3850, 580.72998, 1662.81006, 9.77000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19456, 584.21997, 1661.16003, 7.68000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(957, 580.96002, 1661.52002, 9.09000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(957, 580.96002, 1667.41003, 9.09000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(957, 589.95001, 1667.41003, 9.09000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(957, 585.03003, 1661.52002, 9.09000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(957, 590.12000, 1661.52002, 9.09000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(957, 584.97253, 1667.49438, 9.09000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19456, 590.37000, 1675.51001, 11.20000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19456, 590.37000, 1665.88000, 11.20000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19456, 579.46002, 1665.87000, 11.20000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19456, 579.46002, 1675.51001, 11.20000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19437, 589.65997, 1661.16003, 11.20000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(957, 590.12000, 1664.37000, 9.09000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(957, 585.03003, 1664.37000, 9.09000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(957, 580.96002, 1664.37000, 9.09000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19449, 585.47998, 1666.13000, 9.18000, 0.00000, 90.00000, 90.00000); CreateDynamicObject(19449, 595.53003, 1666.05005, 9.36000, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19449, 596.95001, 1666.05005, 9.36000, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19449, 592.16998, 1675.57996, 9.36000, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19449, 595.53003, 1675.57996, 9.36000, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19449, 596.95001, 1675.57996, 9.36000, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19449, 588.70001, 1675.53003, 12.89000, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19449, 585.28998, 1675.53003, 12.89000, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19449, 581.89001, 1675.53003, 12.89000, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19449, 581.09003, 1675.53003, 12.89000, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19449, 588.70001, 1665.93994, 12.89000, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19449, 585.28998, 1665.93994, 12.89000, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19449, 581.09003, 1665.93994, 12.89000, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19449, 581.89001, 1665.93994, 12.89000, 0.00000, 90.00000, 0.00000); CreateDynamicObject(19456, 584.25000, 1680.25000, 11.15000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19456, 593.90002, 1680.25000, 7.68000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19456, 584.27002, 1680.25000, 7.68000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19437, 589.66998, 1680.25000, 11.20000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(5779, 594.31000, 1680.18005, 7.42000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(5779, 583.10999, 1680.16003, 7.42000, 0.00000, 0.00000, 90.00000); CreateDynamicObject(1216, 598.04236, 1666.63953, 5.87227, 0.00000, 0.00000, 32.64000); CreateDynamicObject(1216, 598.20551, 1670.83459, 6.38740, 91.00000, 0.00000, 0.00000); CreateDynamicObject(1216, 592.79041, 1661.83655, 6.26600, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1216, 595.17407, 1661.67126, 6.52610, 0.00000, 90.00000, 0.00000); CreateDynamicObject(1216, 591.31445, 1669.78455, 5.70800, 0.00000, 0.00000, -27.78000); CreateDynamicObject(1216, 591.14978, 1670.47473, 5.70790, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1271, 581.20483, 1667.14111, 9.59650, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2101, 581.21149, 1667.16956, 9.92640, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2007, 589.81390, 1664.79370, 9.26530, 0.00000, 0.00000, -90.00000); |
nose si me explico bn pero si no dйjenme un mensaje y lo explico mejor