31.10.2013, 18:07
Hello everybody again
I have another bug with textdraw I created 14 textdraws and one of its don't work can you help me?
Code:
I use this timer in public OnPlayerRequestClass(playerid, classid)
{
Code:
![Cheesy](images/smilies/biggrin.png)
Code:
Код HTML:
forward Prisijungimas(playerid); public Prisijungimas(playerid) { TogglePlayerSpectating(playerid, true); new name[30], players[15], ip[50]; format(name,sizeof(name), "%s", GetPlayerNameEx(playerid)); TextDrawSetString(reg10, name); format(players, sizeof(players), "Zaideju: %d",KiekPrisijungusiuZaideju()); TextDrawSetString(reg12, players); format(ip,sizeof(ip), "IP: %s", GetPlayerIpEx(playerid)); TextDrawSetString(reg11, ip); TextDrawShowForPlayer(playerid, reg0); TextDrawShowForPlayer(playerid, reg1); TextDrawShowForPlayer(playerid, reg2); TextDrawShowForPlayer(playerid, reg3); TextDrawShowForPlayer(playerid, reg4); TextDrawShowForPlayer(playerid, reg5); TextDrawShowForPlayer(playerid, reg6); TextDrawShowForPlayer(playerid, reg7); TextDrawShowForPlayer(playerid, reg8); TextDrawShowForPlayer(playerid, reg9); TextDrawShowForPlayer(playerid, reg10); TextDrawShowForPlayer(playerid, reg11); TextDrawShowForPlayer(playerid, reg12); TextDrawShowForPlayer(playerid, reg13); ClearChat(playerid); return 1; }
{
Code:
Код HTML:
if(IsPlayerNPC(playerid)) return 1; logintd = SetTimerEx("Prisijungimas", 1000, true, "i", playerid);