Rmix Posted August 8, 2016 Share Posted August 8, 2016 (edited) Salut am incercat sa fac comanda /spawnhere dar nu functioneaza, adica cand o folosesc imi da respawn. http://pastebin.com/j3snjTEh Edited August 8, 2016 by AIM BUGS.07 Link to comment Share on other sites More sharing options...
Alynush02 Posted August 8, 2016 Share Posted August 8, 2016 http://pastebin.com/Dfjcx8Ye Incearca asa, nu e mare schimbat, dar mna.. Link to comment Share on other sites More sharing options...
Rmix Posted August 8, 2016 Author Share Posted August 8, 2016 (edited) http://pastebin.com/Dfjcx8Ye Incearca asa, nu e mare schimbat, dar mna.. Nope, din pacate tot nu merge. Edited August 8, 2016 by AIM BUGS.07 Link to comment Share on other sites More sharing options...
Alynush02 Posted August 8, 2016 Share Posted August 8, 2016 Nope, din pacate tot nu merge. Zic sa testezi pe un prieten.. nu tot pe tine. Link to comment Share on other sites More sharing options...
Rmix Posted August 8, 2016 Author Share Posted August 8, 2016 Zic sa testezi pe un prieten.. nu tot pe tine. Da man, asa am facut dar nu merge, pur si simplu ii da respawn. Link to comment Share on other sites More sharing options...
zguNNy Posted August 8, 2016 Share Posted August 8, 2016 Si eu am incercat sa o fac odata dar mi-a fost lene, trebuie sa faci un timer. Acum am vazut, comanda nici nu e facuta de tine, e a mea, doar ai pus-o in alt pastebin =]]]] http://forum.bugged.ro/topic/208234-ajutor-comanda-spawnhere/ Link to comment Share on other sites More sharing options...
Rmix Posted August 8, 2016 Author Share Posted August 8, 2016 Si eu am incercat sa o fac odata dar mi-a fost lene, trebuie sa faci un timer. Acum am vazut, comanda nici nu e facuta de tine, e a mea, doar ai pus-o in alt pastebin =]]]] http://forum.bugged.ro/topic/208234-ajutor-comanda-spawnhere/ Nu am spus ca este facuta de mine, am spus ca am incercat sa fac comanda spawnhere sa functioneze si nu am reusit. Link to comment Share on other sites More sharing options...
CrImA Posted August 9, 2016 Share Posted August 9, 2016 (edited) Fa un timer de o secunda in care setezi sa il dea unde era, SpawnPlayer actioneaza putin mai tarziu decat SetPlayerPoss si prima data se efectueaza SetPlayerPos dupa SpawnPlayer. Apropo, nu prea te ajuta comanda, daca e ceva mai simplu dai un slap sau un respawn + gethere, mie unul mi se pare ca e in plus. Edited August 9, 2016 by Stuber Link to comment Share on other sites More sharing options...
GF Catalin. Posted August 11, 2016 Share Posted August 11, 2016 (edited) E chiar usor sa faci comanda. Te folosesti de 1 variabila de ex: new PrimesteSpawn[MAX_PLAYERS];, de GetPlayerPos si SetPlayerPos. La comanda /spawnhere folosesti variabila PrimesteSpawn[id] = 1; si folosesti GetPlayerPos iar la onplayerspawn verifici daca variabila e activa PrimesteSpawn[player id] = 1; si folosesti SetPlayerPos si resetezi variabila PrimesteSpawn. Mai mult contribui tu. Edited August 11, 2016 by Zephyr. Link to comment Share on other sites More sharing options...
Ewann Posted August 15, 2016 Share Posted August 15, 2016 GetPlayerPos(id, X, Y, Z); SpawnPlayer(id); SetPlayerPos(id, X, Y, Z); Link to comment Share on other sites More sharing options...
CrImA Posted August 16, 2016 Share Posted August 16, 2016 GetPlayerPos(id, X, Y, Z); SpawnPlayer(id); SetPlayerPos(id, X, Y, Z); Macar te-ai uitat peste comanda lui? Daca te uitati stiai ca are la fel cum i-ai spus tu. Link to comment Share on other sites More sharing options...
Ewann Posted August 17, 2016 Share Posted August 17, 2016 Macar te-ai uitat peste comanda lui? Daca te uitati stiai ca are la fel cum i-ai spus tu. Daca nu intelegi ce am scris, nu te baga. Link to comment Share on other sites More sharing options...
CrImA Posted August 17, 2016 Share Posted August 17, 2016 (edited) Daca nu intelegi ce am scris, nu te baga. Frate uite ce are el in comanda: ( unde se executa conditiile pe playerul ales, eu vad ca are si ce ai zis tu sa puna poate tu vezi altceva, idk ) GetPlayerName(id, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); new Float:spx, Float:spy, Float:spz; GetPlayerPos(id, spx, spy, spz); SpawnPlayer(id); format(string, sizeof(string), "%s spawned and restored your position.", sendername); SendClientMessage(id, -1, string); SetPlayerPos(id, spx, spy, spz); format(string, sizeof(string), "/spawnhere: %s spawned and restored %s position", sendername, giveplayer); ABroadCast(COLOR_ADMCOMMANDS,string,1); HLChat(COLOR_ADMCOMMANDS,string); return 1; Edited August 17, 2016 by Stuber Link to comment Share on other sites More sharing options...
GF Catalin. Posted August 18, 2016 Share Posted August 18, 2016 Frate uite ce are el in comanda: ( unde se executa conditiile pe playerul ales, eu vad ca are si ce ai zis tu sa puna poate tu vezi altceva, idk ) GetPlayerName(id, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); new Float:spx, Float:spy, Float:spz; GetPlayerPos(id, spx, spy, spz); SpawnPlayer(id); format(string, sizeof(string), "%s spawned and restored your position.", sendername); SendClientMessage(id, -1, string); SetPlayerPos(id, spx, spy, spz); format(string, sizeof(string), "/spawnhere: %s spawned and restored %s position", sendername, giveplayer); ABroadCast(COLOR_ADMCOMMANDS,string,1); HLChat(COLOR_ADMCOMMANDS,string); return 1; Cum sa-l da la pozitie daca il spawneaza? Trebuie activat mai mult la spawn. Am zis in raspunsul meu cum se face. Link to comment Share on other sites More sharing options...
CrImA Posted August 18, 2016 Share Posted August 18, 2016 Cum sa-l da la pozitie daca il spawneaza? Trebuie activat mai mult la spawn. Am zis in raspunsul meu cum se face. Macar ai citit ce am scris deasupra in reply? Link to comment Share on other sites More sharing options...
Recommended Posts