if..getting correct id...getplayername
#5

You should use IsPlayerConnected or something similar to check if the player you're getting the name of is actually there .. Second, it serves absolutely no purpose to copy the name into another string (which is the wrong way to do it, by the way), because the name is already a string itself. Third: you should avoid using a foreign language to name your variables. I, for that matter, have no idea what the word 'uzvaretajs' would mean if you didn't tell me.
pawn Код:
if(GetPlayerName(i, uzvaretjs, sizeof(uzvaretajs)))
            {
                SendClientMessageToAll(COLOR_RED, uzvaretajs).
            }
Reply


Messages In This Thread
if..getting correct id...getplayername - by SaW_[VrTx] - 19.05.2011, 18:57
Re: if..getting correct id...getplayername - by Macluawn - 19.05.2011, 20:28
Re: if..getting correct id...getplayername - by SaW_[VrTx] - 19.05.2011, 20:33
Re: if..getting correct id...getplayername - by Macluawn - 19.05.2011, 23:08
Re: if..getting correct id...getplayername - by Vince - 20.05.2011, 07:04
Re: if..getting correct id...getplayername - by SaW_[VrTx] - 20.05.2011, 10:51
Re: if..getting correct id...getplayername - by GaGlets(R) - 20.05.2011, 13:16
Re: if..getting correct id...getplayername - by RyDeR` - 20.05.2011, 14:51
Re: if..getting correct id...getplayername - by SaW_[VrTx] - 20.05.2011, 18:49
Re: if..getting correct id...getplayername - by SaW_[VrTx] - 21.05.2011, 13:19

Forum Jump:


Users browsing this thread: 1 Guest(s)