(adsbygoogle = window.adsbygoogle || []).push({});UPDATE (bottom of page)
You know the motd?
I wonder if there is a way to change the motd by day!!
like add onPlayerSpawn(){
self thread motd();(then input or something)
so then like
if (self isMonday()){
self setClientDvar("motd", "Today is monday!");
if (self isTuesday()){
self setClientDvar("motd", "Today is tuesday!");
} }
THis is just an idea and I dont even know if this is possible but here are some ideas
im not a great c++ coder but yeah maybe you can do it by
* a wait time of 24 hours (while)
*A way to tell what day it is. Like an update
*Set it up on the init like day.monday == 1
( How kills update, or score, or it updates what your friends are playing. These could all be ways to get this to work and would be very cool)
this just an idea so yeah. . .
we will probly need help from mossy, DT, blackstorm, homer, mecaj, and all these great coders!!
Also if you want it to change everytime your in a lobby
add this this to init
----------------------
motd.mod == 0
------------------------------
Add to onPlayerSpawned();
--------------------------------
self thread motdmodz();
------------------------------
then the actuall code
(I dont know how to set up but . . .)
---------------------------------------------------
motdmodz(){
if motd.mod == 0{
self setDvar("motd", "a motd here");
self notify("motd.mod == 1");
}else{
if motd.mod == 1{
self setDvar("motd", "a motd here");
self notify("motd.mod == 2");
}else{
if motd.mod == 2{
self setDvar("motd", "a motd here");
self notify("motd.mod == 0");
} }
----------------------------------------------
Honestly im kind of newby at coding so if that worked I would shit my pants!
I wonder if there is a way to change the motd by day!!
like add onPlayerSpawn(){
self thread motd();(then input or something)
so then like
if (self isMonday()){
self setClientDvar("motd", "Today is monday!");
if (self isTuesday()){
self setClientDvar("motd", "Today is tuesday!");
} }
THis is just an idea and I dont even know if this is possible but here are some ideas
im not a great c++ coder but yeah maybe you can do it by
* a wait time of 24 hours (while)
*A way to tell what day it is. Like an update
*Set it up on the init like day.monday == 1
( How kills update, or score, or it updates what your friends are playing. These could all be ways to get this to work and would be very cool)
this just an idea so yeah. . .
we will probly need help from mossy, DT, blackstorm, homer, mecaj, and all these great coders!!
I wonder if there is a way to change the motd by day!!
like add onPlayerSpawn(){
self thread motd();(then input or something)
so then like
if (self isMonday()){
self setClientDvar("motd", "Today is monday!");
if (self isTuesday()){
self setClientDvar("motd", "Today is tuesday!");
} }
THis is just an idea and I dont even know if this is possible but here are some ideas
im not a great c++ coder but yeah maybe you can do it by
* a wait time of 24 hours (while)
*A way to tell what day it is. Like an update
*Set it up on the init like day.monday == 1
( How kills update, or score, or it updates what your friends are playing. These could all be ways to get this to work and would be very cool)
this just an idea so yeah. . .
we will probly need help from mossy, DT, blackstorm, homer, mecaj, and all these great coders!!
Well in java you can use a calender I'm still new with this language. If this was possible, your lobby would have to have some timer and the lobby would have to be 24/7 or the thread would reset. unless like I said, there is something similar to the Java calender function.
I think the best thing you could do is set the motd to random. But keep in mind, that is only each time they spawn in your game, or each time you call it from the menu. There is no way to have it change at all if they aren't in your game.