Jump to content

Cerere Tutorial sa pun limita minima la war.


Panda Official

Recommended Posts

Descriere tutorial: Doresc si eu sa ma ajutati ca sa pot face sa dea war dar ca sa poata sa dea war sa aiba minim 3 membri online. Multumesc

                     

             a7DfKP7.gif                                                                      FGIfknL.gif

                                                                                                                                                                                                                                                                                                I0aS856.gif

Link to comment
Share on other sites

Adaugi asta in gm

stock TeamMembersOnline(playerid)
{
    new Counth=0;
	foreach(Player,i)
	{
	    if(PlayerInfo[i][pMember] == PlayerInfo[playerid][pMember])
	    Counth++;
	}
	return Counth;
}

 

Si la comanda de /war sau cum ai tu adaugi o restrictie

 

if(TeamMembersOnline(playerid)<3) return SendClientMessage(playerid,-1,"Sunt mai putin de 3 membri online!")

 

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

Multumesc Frumos.

                     

             a7DfKP7.gif                                                                      FGIfknL.gif

                                                                                                                                                                                                                                                                                                I0aS856.gif

Link to comment
Share on other sites

Join the conversation

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

Guest
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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.