Have I misplaced a bracket or something?
#5

what PlayerInfo[playerid][pMember] is Medic Job?

edit: from the code I see that pMember 3 is Medic job, can you tell me why the hell do you have at the top of your command this?

Код:
if(PlayerInfo[playerid][pMember] == 3)
    {
        SendClientMessage(playerid, COLOR_LIGHTRED, "You are not a part of SD-EMS!!");
        return 1;
    }
so if player IS medic it will tell him that he is not medic? change it to

pawn Код:
if(PlayerInfo[playerid][pMember] != 3)
    {
        SendClientMessage(playerid, COLOR_LIGHTRED, "You are not a part of SD-EMS!!");
        return 1;
    }
as the guy in first (?) reply said
Reply


Messages In This Thread
Have I misplaced a bracket or something? - by Luke_James - 13.08.2012, 14:19
Re: Have I misplaced a bracket or something? - by Snipa - 13.08.2012, 14:34
Re: Have I misplaced a bracket or something? - by Luke_James - 13.08.2012, 20:07
Re: Have I misplaced a bracket or something? - by Weaselpwns - 13.08.2012, 20:13
Re: Have I misplaced a bracket or something? - by SEnergy - 13.08.2012, 20:14
Re: Have I misplaced a bracket or something? - by Luke_James - 13.08.2012, 20:35
Re: Have I misplaced a bracket or something? - by SEnergy - 13.08.2012, 20:37

Forum Jump:


Users browsing this thread: 1 Guest(s)