Amenadiel 286 Odesláno: 7. Listopad, 2013 Share Odesláno: 7. Listopad, 2013 Anooo po dlouhe době jsem založil topic s Help chtel jsem se učit s gettime nikde jsem nevidel ani jeden návod tak se chci zeptat jestli tadle terorie by fungovala new time; CMD:test (playerid,params[]) { time = gettime(); time += 20; return 1; } CMD:test2 (playerid,params[]) { if(gettime() < time) { SendClientMessage(playerid,-1,"20 sec ubehlo"); }else{ SendClientMessage(playerid,-1,"20 sec neubehlo"); } return 1; } Link to comment Share on other sites More sharing options...
0 ATomas 291 Odesláno: 7. Listopad, 2013 Share Odesláno: 7. Listopad, 2013 Bych to resil takto : new time; CMD:kolikjevterin(playerid,params[]) { time = gettime(); return 1; } CMD:kolikvterinubehlo(playerid,params[]) { if(gettime()-time > 20000) SendClientMessage(playerid,-1,"20 sec ubehlo"); else SendClientMessage(playerid,-1,"20 sec neubehlo"); return 1; } Link to comment Share on other sites More sharing options...
0 Amenadiel 286 Odesláno: 7. Listopad, 2013 Author Share Odesláno: 7. Listopad, 2013 Bych to resil takto : new time; CMD:kolikjevterin(playerid,params[]) { time = gettime(); return 1; } CMD:kolikvterinubehlo(playerid,params[]) { if(gettime()-time > 20) SendClientMessage(playerid,-1,"20 sec ubehlo"); else SendClientMessage(playerid,-1,"20 sec neubehlo"); return 1; } ano dík byla to jen moje terorie co mě napadla ale pokud se nepletu ta moje terrorie by taky fungovala ne? Link to comment Share on other sites More sharing options...
0 Globální moderátor Hip 191 Odesláno: 7. Listopad, 2013 Globální moderátor Share Odesláno: 7. Listopad, 2013 fungovala.... Link to comment Share on other sites More sharing options...
0 Amenadiel 286 Odesláno: 8. Listopad, 2013 Author Share Odesláno: 8. Listopad, 2013 fungovala.... ted jsem to testoval . . . a nefunguje Link to comment Share on other sites More sharing options...
0 Tanga 131 Odesláno: 8. Listopad, 2013 Share Odesláno: 8. Listopad, 2013 A to Atomasove fungovalo?Nie je to tým, že je to 20 milisekund?Alebo tým, že si zle zapísal podmienku?Dal si to totiž naopak tie odpovede. Link to comment Share on other sites More sharing options...
0 Amenadiel 286 Odesláno: 8. Listopad, 2013 Author Share Odesláno: 8. Listopad, 2013 A to Atomasove fungovalo? Nie je to tým, že je to 20 milisekund? Alebo tým, že si zle zapísal podmienku? Dal si to totiž naopak tie odpovede. koukal jsem se na wikinu nevyvolalo se nic a 60 je 1 M alespon to tak na wikine bylo Link to comment Share on other sites More sharing options...
0 Tanga 131 Odesláno: 8. Listopad, 2013 Share Odesláno: 8. Listopad, 2013 Prečítaj si to ešte raz čo som ti napísal.Hneď za tým, čím si niesom istý je to, čím som si istý. Link to comment Share on other sites More sharing options...
0 Amenadiel 286 Odesláno: 11. Listopad, 2013 Author Share Odesláno: 11. Listopad, 2013 Prečítaj si to ešte raz čo som ti napísal. Hneď za tým, čím si niesom istý je to, čím som si istý. http://forum.sa-mp.com/showthread.php?t=254915 Link to comment Share on other sites More sharing options...
0 Tanga 131 Odesláno: 11. Listopad, 2013 Share Odesláno: 11. Listopad, 2013 Hneď za tým, čím si niesom istý je to, čím som si istý. http://forum.sa-mp.c...ad.php?t=254915 ---------------------------------------------------- Šak si skús, že by to nešlo . Link to comment Share on other sites More sharing options...
Dotaz
Amenadiel 286
Anooo po dlouhe době jsem založil topic s Help chtel jsem se učit s gettime nikde jsem nevidel ani jeden návod tak se chci zeptat jestli tadle terorie by fungovala
Link to comment
Share on other sites
9 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