30.09.2015, 14:15
You are mixing up playertextdraws with global textdraws
first of all there is nothing called loginbox, you have a loginbox[playerid] so if you want to show that you should fix those names
second of all if you are making a textdraw unique for players you should use playertextdraws
or if you are gonna stay with your global textdraws you should make them like this
fix all of your code according to these ^^
PHP код:
loginbox[playerid] = TextDrawCreate(playerid, 412.000000, 314.750000, "usebox");
TextDrawShowForPlayer(playerid, loginbox);
second of all if you are making a textdraw unique for players you should use playertextdraws
PHP код:
loginbox[playerid] = CreatePlayerTextDraw(playerid, 412.000000, 314.750000, "usebox")
PlayerTextDrawShow(playerid, loginbox[playerid]);
PHP код:
loginbox[playerid] = TextDrawCreate(412.000000, 314.750000, "usebox");
TextDrawShowForPlayer(playerid, loginbox[playerid]);