Jump to content
  • 0

Error 017: Undefined symbol "member"


AlexVs

Question

E:\Server SAMP\gamemodes\gf.pwn(13225) : error 017: undefined symbol "member"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

1 Error.

if(strcmp(cmd, "/ExitVLA", true) == 0)

if(member==12)

if (PlayerToPoint(3.0, playerid,-974.4528,1061.2281,1345.6753))

{

    SetPlayerInterior(playerid,0);

SetPlayerPos(playerid,731.5355,-1276.1060,17.6484);

PlayerInfo[playerid][pInt] = 0;

PlayerInfo[playerid][pLocal] = 255;

}

Vreau sa fac ca atunci cand esti in TRAINING  cand vrei sa iesi din VLA Training sa scrii /ExitVLA si sa mearga doar pt VLA , si /ExitLSV pt LSV-isti

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Incearca asa:

if(strcmp(cmd, "/ExitVLA", true) == 0)
	{
	  if(IsPlayerConnected(playerid))
	   {
            if (PlayerToPoint(3.0, playerid,-974.4528,1061.2281,1345.6753)))
			{
			    if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 12)
			    {
				    SetPlayerInterior(playerid,2);
					SetPlayerPos(playerid,731.5355,-1276.1060,17.6484);
					PlayerInfo[playerid][pInt] = 0;
					PlayerInfo[playerid][pLocal] = 250;
				}
			}

LISTA - GAMEMODE-URI SA-MP - Le gasiti pe toate aici: http://twiriock.com/3MGP

Link to comment
Share on other sites

THX AM REUSIT ASA :

if(strcmp(cmd, "/ExitVLA", true) == 0)

{

if(IsPlayerConnected(playerid))

            if (PlayerToPoint(3.0, playerid,-974.4528,1061.2281,1345.6753))

    if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12)

    {

    SetPlayerInterior(playerid,0);

SetPlayerPos(playerid,731.5355,-1276.1060,17.6484);

ResetPlayerWeapons(playerid);

GivePlayerWeapon(playerid, 24, 100);

GivePlayerWeapon(playerid, 1, 100);

PlayerInfo[playerid][pInt] = 0;

PlayerInfo[playerid][pLocal] = 250;

}

}

DAR DACA SE POATE . VREAU CA ATUNCI CAND ESTI IN HQ (DOAR IN HQ ) SCRII /health si iti da 100% viata si nuj cum fac

Si nu merge ShowPlayerMarkers(2);

HELP PLS :D

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.