Make it a thread and add it under playeronspawned();
So...
teamsort();
{
self notify("menuresponse", game["menu_team"], "autoassign");
}
and on "onplayerspawned();"
add under it
self thread teamsort();
Can anyone tell me how I can add
self notify("menuresponse", game["menu_team"], "autoassign");
to a full mod
C++ | #include common_scripts\utilit - Anonymous - P78MCyTR - Pastebin.com
it is Josephlittle Quick Scope mod.
https://www.mpgh.net/forum/308-call-d...scope-mod.html
People keep joining and making the teams uneven so I was hoping that i could add that code the the whole mod or find a better code
Make it a thread and add it under playeronspawned();
So...
teamsort();
{
self notify("menuresponse", game["menu_team"], "autoassign");
}
and on "onplayerspawned();"
add under it
self thread teamsort();
/Moved to Help