18.08.2016, 21:41
Hey guys
i have created a textdraw which is meant to set up the players name on it
it only sets up the first player name
example
Eastony Hernandes
and not others
which is meant to be like
Eastony Hernandes
Hernandes Estony and so on
here is the code
i have created a textdraw which is meant to set up the players name on it
it only sets up the first player name
example
Eastony Hernandes
and not others
which is meant to be like
Eastony Hernandes
Hernandes Estony and so on
here is the code
Код:
for(new i; i < MAX_PLAYERS; i++) { if(!IsPlayerConnected(i)) continue; if(!IsPlayerInRangeOfPoint(i, 20.0, rPos[0], rPos[1], rPos[2])) continue; if(rCount == 2) player2 = i; new lotString[300]; format(lotString, sizeof(lotString), "~y~Robbers:~n~~w~%s~n~%s",RPName(i)); TextDrawSetString(tds, lotString); TextDrawShowForPlayer(i,tds); }