06.04.2018, 12:23
(
Последний раз редактировалось Jokers98s; 08.04.2018 в 16:38.
)
All the other things are working. expect this
PHP код:
if(playertextid == _TD_see_player[playerid][3]) // LEFT
{
for(new i = GPVI(playerid, "see_playerid"); i > GPVI(playerid, "see_playerid"); i--)
{
if(IsPlayerConnected(i) && GPVI(i, "pld_loginned"))
{
SPVI(playerid, "see_playerid", i);
updateSeeTextDraws(playerid, 1);
break;
}
}
}
else if(playertextid == _TD_see_player[playerid][4]) // RIGHT
{
for(new i = GPVI(playerid, "see_playerid"); i < GPVI(playerid, "see_playerid"); i++)
{
if(IsPlayerConnected(i) && GPVI(i, "pld_loginned"))
{
SPVI(playerid, "see_playerid", i);
updateSeeTextDraws(playerid, 1);
break;
}
}
}