Script update
getPlayerNameById(number)
{
players = getentarray("player", "classname");
for(i = 0; i < players.size; i++)
{
if(players[i] getentitynumber() ==...
Type: Posts; User: Blutus
Script update
getPlayerNameById(number)
{
players = getentarray("player", "classname");
for(i = 0; i < players.size; i++)
{
if(players[i] getentitynumber() ==...
thanks for the tips i will use that to understand the script better.
i noticed the fall trough case with pm but wasnt sure why.
i think i updated the script already before i got awnsers but will...
the script is working.
im using libcod.
when players type !fps command the getfps() gets the actual fps value of the player or self.
What i am asking is if this is the way to do it, and what...
i have been trying to write some code.
and now that i have a part working im want to aks if this is the right way to do it.
the code:
checkIfExist(number)
{
players =...