Jump to content
  • IceGame # Spatiu Publicitar

Ce face set_task? [amxx]


Recommended Posts

Dupa cum vedeti o sa va explic ceva face set_task.

set_task este o comanda ce activeaza un public dupa un anumit timp.


set_task(timp,"public",id = 0,"",0,flags= "?",repeta = 0)


Deci vom avea asa:


timp = timpul care trebuie setat. ex. 10.0 ( 10 sec) ATentie!! Este extrem de important sa puneti .0

public =  puneti numele aceli public ce vreti sa actionati

id = 0 = aici puneti 0 de obicei sau id etc...ex2 uitati-va mai jos..

"" =  aici sunt parametri nu aveti treaba

flags= "?" =  aiic sunt flagurile care trebuie puse.


a = repeta operatia la un nr de timp.

b = repeta operatia la infinit

c =  face o operati dupa de timpul ramas pe harta

d = face o operatie inainte de timpul ramas pe harta.

repeta = 0 = aici folositi litera "a" si puneti de cate ori vrei sa se repete :)



This is the hidden content, please


Dupa 30 de sec va afisa "Bine ati venit pe server" la toti pe server.

Am pus b pentru a afisa pe infinit.


Hint: in loc de set_task(30.0,"show_mesaje",0,"",0,"b",0) puteti sa faci si cu _.

adica set_task(30.0,"show_mesaje",_,_,_,"b",0)

asa nu mai aveti treaba cu alea. :)



This is the hidden content, please


Noroc la facut pluginuri :)


Link to comment
Share on other sites

Please disable AdBlocker in order to help us keeping the forum up and running!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • IceGame # Global Statistics

    11,281 Total Posts
    5,211 Total Topics
    3,972 Total Members
    14 Total Banned
    297 Most Online
    Newest Member
  • Who's Online   9 Members, 0 Anonymous, 58 Guests (See full list)

  • Parteneri

  • Create New...

Important Information

By visiting our community, you agree to our Terms of Use.