Ronny 11 Odesláno: 9. Leden, 2013 Share Odesláno: 9. Leden, 2013 Ahoj Nebyl by někdo schopen mi pomoc udělat Pickup kde bude šipka když ta ho portne někam a pak tam kam ho portne bude taky a pak když na ní půjde portneho z5 ? Link to comment Share on other sites More sharing options...
0 H{3}nr{1} 19 Odesláno: 9. Leden, 2013 Share Odesláno: 9. Leden, 2013 LoL SetPlayerPoss ti nic neříká ? Link to comment Share on other sites More sharing options...
0 Ronny 11 Odesláno: 9. Leden, 2013 Author Share Odesláno: 9. Leden, 2013 To jo ale nevím jak to udělat tak když stoupne na tu šipku že ho to portne na střechu a když stopune zpátky tak ho to porne z5 Link to comment Share on other sites More sharing options...
0 jenkings 121 Odesláno: 9. Leden, 2013 Share Odesláno: 9. Leden, 2013 Dva pickupy, dvě různé cílové souřadnice Link to comment Share on other sites More sharing options...
0 Ronny 11 Odesláno: 9. Leden, 2013 Author Share Odesláno: 9. Leden, 2013 To vím ale jak udělat tak aby ho tam portlo to nevím Link to comment Share on other sites More sharing options...
0 jenkings 121 Odesláno: 9. Leden, 2013 Share Odesláno: 9. Leden, 2013 v publicu on player pickuppickup ověříš id pickupu a pak provedeš fci SetPlayerPos(p,x,y,z) Link to comment Share on other sites More sharing options...
0 Ronny 11 Odesláno: 9. Leden, 2013 Author Share Odesláno: 9. Leden, 2013 ok díky Tvl nejde to Link to comment Share on other sites More sharing options...
0 jenkings 121 Odesláno: 9. Leden, 2013 Share Odesláno: 9. Leden, 2013 jak nejde ? napiš konkrétní chybu, z konstatování "nejde to" ti můžu říct akorát jedno: Někde jsi to pos*al Link to comment Share on other sites More sharing options...
0 Ronny 11 Odesláno: 9. Leden, 2013 Author Share Odesláno: 9. Leden, 2013 Neuakzuje se ten Pickup Jinak to mám takhle nejspíš blbě #include a_samp public OnPlayerConnect(playerid) { CreatePickup(playerid, 1318, 2453.6604,2348.6458,12.1635); SetPlayerPos(playerid, 2447.5891,2333.1895,82.7734); CreatePickup(playerid, 1318, 2447.5891,2333.1895,82.7734); SetPlayerPos(playerid, 2453.6604,2348.6458,12.1635); // Create an armour pickup and store the ID in 'pickup' return 1; } Link to comment Share on other sites More sharing options...
0 Dress 3 Odesláno: 9. Leden, 2013 Share Odesláno: 9. Leden, 2013 CreatePickup sa používa v OnGameModeInit a nie v OnPlayerConnect Link to comment Share on other sites More sharing options...
0 Ronny 11 Odesláno: 9. Leden, 2013 Author Share Odesláno: 9. Leden, 2013 proto to nejde ? Link to comment Share on other sites More sharing options...
0 jAk3r 47 Odesláno: 9. Leden, 2013 Share Odesláno: 9. Leden, 2013 Ano a pokut budeš používat více pickupů tak ti doporučím si každej definovat nějak takto--> new Nejakypick; new Nejakypick2; adt..... public OnGameModeInit() { Nejakypick = CreatePickup(playerid, 1318, 2453.6604,2348.6458,12.1635); Nejakypick2 = CreatePickup(playerid, 1318, 2447.5891,2333.1895,82.7734); return 1; { public OnPlayerPickUpPickup(playerid, pickupid) { //=========> Úřad if(pickupid == Nejakypick){ SetPlayerPos(playerid, 2447.5891,2333.1895,82.7734); SetCameraBehindPlayer(playerid); } if(pickupid == Nejakypick2){//odchod SetPlayerPos(playerid, 2453.6604,2348.6458,12.1635); SetCameraBehindPlayer(playerid); } return 1; } Takhle by to mělo vypadat 1 Link to comment Share on other sites More sharing options...
0 Ronny 11 Odesláno: 9. Leden, 2013 Author Share Odesláno: 9. Leden, 2013 #include a_samp new port1; new port2; public OnGameModeInit() { port1 = CreatePickup(1318, 2, 2447.5891,2333.1895,82.7734); port2 = CreatePickup(1318, 2, 2453.6604,2348.6458,12.1635);//vse return 1; } public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == port1) SetPlayerPos(playerid, 2446.7961,2350.7896,12.1635);//vse if(pickupid == port2) SetPlayerPos(playerid, 2469.0117,2332.5520,82.7734);//vse return 1; } A tak to může být? Link to comment Share on other sites More sharing options...
0 mawerick 20 Odesláno: 9. Leden, 2013 Share Odesláno: 9. Leden, 2013 Pokud ti to nehaze errory tak ano Link to comment Share on other sites More sharing options...
0 Ronny 11 Odesláno: 9. Leden, 2013 Author Share Odesláno: 9. Leden, 2013 Neháže Link to comment Share on other sites More sharing options...
0 jAk3r 47 Odesláno: 10. Leden, 2013 Share Odesláno: 10. Leden, 2013 Jojo akhle to byt může Link to comment Share on other sites More sharing options...
Dotaz
Ronny 11
Ahoj Nebyl by někdo schopen mi pomoc udělat Pickup kde bude šipka když ta ho portne někam a pak tam kam ho portne bude taky a pak když na ní půjde portneho z5 ?
Link to comment
Share on other sites
15 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now