02.09.2014, 14:44
So i have those lines and there are putted on player login.
And my problem is like this:
We have 2 accounts , one logged and spawned and one that is staying at login box.
When he enters the password , the player who is spawned it goes to InterpolateCameraPos , because is using the "i" with Foreach(player, i);
So i want to change from "i" to playerid to avoid the problem.
Thanks.
Код HTML:
for(new i = 0; i < MAX_PLAYERS; i++) { TextDrawHideForPlayer(i, Textdraw2); TextDrawHideForPlayer(i, Textdraw3); InterpolateCameraPos(i, 1698.550170, -1732.532470, 17.280830, 1051.786376, -1731.606079, 21.769128, 10000, 1); InterpolateCameraLookAt(i, 1694.554809, -1732.645507, 17.124620, 1047.789062, -1731.675415, 21.897232, 10000, 1); }
We have 2 accounts , one logged and spawned and one that is staying at login box.
When he enters the password , the player who is spawned it goes to InterpolateCameraPos , because is using the "i" with Foreach(player, i);
So i want to change from "i" to playerid to avoid the problem.
Thanks.