Jump to content
  • 0

Problema Restrictie


kiLLers10

Question

Problema intalnita (descriere): Deci am o problema la restrictii , orice player care da G , il da afara din masina si zice ca nu face parte din acea factiune . doar la civili pt membri e ok .
Ero(area / rile) / warning-(ul / urile):
Liniile de cod / sursa / script-ul(obligatoriu): 

	if(VLACAR(newcar))
  	{
            if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)
            {}
            else//altfel , daca nu este nici lider 1 si nici member 1
            {
                RemovePlayerFromVehicle(playerid);
          		displayCenterHUDInfo(playerid,  "Nu faci parte din factiunea ~w~Varios Los Aztecas~w~.", 8);
            }
	}


Imagini / Video (optional):
Ati incercat sa rezolvati singur?:  da 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Inainte de removeplayerfromvehicle pune asta

if (GetPlayerState (playerid) != PLAYER_STATE_DRIVER) return 1;

 

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

Guest
This topic is now closed to further replies.
×
×
  • 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.