Question

Здравствуйте, делаю мод намальска, и у меня появился вопрос, возможно ли сделать временный текстдрав? по типу Текстдрав показываеться 3 секунды и ищезает.

Share this post


Link to post

8 answers to this question

  • 1

в месте, где нужно показывать текстдрав
 

SetTimerEx("td_close"3000false"i", playerid);

в конец мода
 

public: td_close (playerid)
{
    for(new i = 0; i < название текстдрава; i ++) TextDrawShowForPlayer(playerid, название текстдрава [i]) ;
}

 

Share this post


Link to post
  • 1

@nazikUA  варнинг - forward td_close(playerid);
еррор из-за того, что не указали размер массива текстдрава 

Edited by Holmo

Share this post


Link to post
  • 0

таймер Вам в помощь

Share this post


Link to post
  • 0

@Holmo мне бы человека в помощь

Share this post


Link to post
  • 0

@Holmo 

C:\Users\User\Desktop\все файлы\server mods\!namalsk слив в3\gamemodes\namalsk.pwn(28569) : warning 235: public function lacks forward declaration (symbol "td_close")
C:\Users\User\Desktop\все файлы\server mods\!namalsk слив в3\gamemodes\namalsk.pwn(28571) : error 033: array must be indexed (variable "pdd")
Pawn compiler 3.10.8              Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

Share this post


Link to post
  • 0

@Holmo у меня почему-то перестало работать

Share this post


Link to post
  • 0

@nazikUA что-то натворили значит

Share this post


Link to post
  • 0

@Holmo переписал несколько раз

Share this post


Link to post
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • Kutuzov
      By Kutuzov
      Всем привет, хотелось бы спросить у тех, кто разбирается в PluginSDK.
      Какие есть источники, руководства, документации о PluginSDK?
      Я пока что ничего нормального не нахожу.
      Заранее спасибо