AduLo_ 0 Odesláno: 24. Říjen, 2014 Share Odesláno: 24. Říjen, 2014 Prosím pomožete mi vypawniť /setloc a /teleport? Link to comment Share on other sites More sharing options...
0 Tedy 8 Odesláno: 24. Říjen, 2014 Share Odesláno: 24. Říjen, 2014 Stačilo pohledat a našel jsem : #include <a_samp> GetPlayerPos(playerid,LocPos[0],LocPos[1],LocPos[2]); GetPlayerFacingAngle(playerid,LocPos[3]); LocInt = GetPlayerInterior(playerid); SCMTAF(0x33CCFFAA,"{15D4ED}Hrac {FF0000}%s{15D4ED} ulozil verejnou pozici pro {FF0000}/teleport",Jmeno(playerid)); return true; } QCMD:teleport(){ if(Vezenie[playerid] > 0) return SCM(playerid,-1,"Tento příkaz nyní nelze použít !"); new carid = GetPlayerVehicleID(playerid); if(carid > 0 && GetPlayerState(playerid) == PLAYER_STATE_DRIVER){ SetVehiclePos(carid,LocPos[0],LocPos[1],LocPos[2]); SetVehicleZAngle(carid,LocPos[3]); LinkVehicleToInterior(carid,LocInt); SetPlayerInterior(playerid, LocInt); }else{ SetPlayerPos(carid,LocPos[0],LocPos[1],LocPos[2]); SetVehicleZAngle(carid,LocPos[3]); SetPlayerInterior(playerid, LocInt); } SCMTAF(0x33CCFFAA,"Hráč {FF0000}%s {33CCFF}se přesunul na veřejně uloženou pozici {FF0000}- > příkaz /teleport",Jmeno(playerid)); return true; } btw. zkus ,nezkoušel jsem to. Link to comment Share on other sites More sharing options...
0 AduLo_ 0 Odesláno: 24. Říjen, 2014 Author Share Odesláno: 24. Říjen, 2014 Nejde to vyhadzuje mi to errors. konkrétne tieto C:\Users\AduLo\Desktop\2Dintro7\teleport.pwn(2) : error 021: symbol already defined: "GetPlayerPos" C:\Users\AduLo\Desktop\2Dintro7\teleport.pwn(5) : error 010: invalid function or declaration C:\Users\AduLo\Desktop\2Dintro7\teleport.pwn(5 -- 6) : error 010: invalid function or declaration C:\Users\AduLo\Desktop\2Dintro7\teleport.pwn(26) : warning 203: symbol is never used: "SCMTAF" C:\Users\AduLo\Desktop\2Dintro7\teleport.pwn(26) : warning 203: symbol is never used: "teleport" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Link to comment Share on other sites More sharing options...
0 Tedy 8 Odesláno: 24. Říjen, 2014 Share Odesláno: 24. Říjen, 2014 "Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase" --> Opravdu se Ti to nepřevedlo do .amx ? Link to comment Share on other sites More sharing options...
0 AduLo_ 0 Odesláno: 24. Říjen, 2014 Author Share Odesláno: 24. Říjen, 2014 Zle som skopíroval. Link to comment Share on other sites More sharing options...
0 Amenadiel 286 Odesláno: 24. Říjen, 2014 Share Odesláno: 24. Říjen, 2014 "Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase" --> Opravdu se Ti to nepřevedlo do .amx ? Tím chceš říct že když máš error ale objeví se tam tohle tak se to vždy "převede do amx ?" Link to comment Share on other sites More sharing options...
0 VolfikCZ 33 Odesláno: 24. Říjen, 2014 Share Odesláno: 24. Říjen, 2014 Noo asi jen z půlky... xDD Link to comment Share on other sites More sharing options...
0 Tedy 8 Odesláno: 25. Říjen, 2014 Share Odesláno: 25. Říjen, 2014 Tím chceš říct že když máš error ale objeví se tam tohle tak se to vždy "převede do amx ?" Ne, tím nechci říci to,co jsi napsal. Link to comment Share on other sites More sharing options...
0 AduLo_ 0 Odesláno: 25. Říjen, 2014 Author Share Odesláno: 25. Říjen, 2014 JOoj, hovorím zle som to skopíroval mám tam ešte pod tým Errors 3 Tak vedel by niekto? Link to comment Share on other sites More sharing options...
Dotaz
AduLo_ 0
Prosím pomožete mi vypawniť /setloc a /teleport?
Link to comment
Share on other sites
8 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