help =D
#3

Try adding a space:

pawn Код:
if(indm[playerid] == 2 && indm[killerid] == 2)
    {
        SetPlayerScore(killerid,GetPlayerScore(killerid) - 1);
        SendClientMessage(killerid,red,"Dont kill your own men!");
        SetPlayerHealth(killerid,0);
    }
// edit blackwabe might be right too.. try using the else situation, IDK if it will now work:

pawn Код:
if(indm[playerid] == 2 && indm[killerid] == 2)
    {
        SetPlayerScore(killerid,GetPlayerScore(killerid)-1);
        SendClientMessage(killerid,red,"Dont kill your own men!");
        SetPlayerHealth(killerid,0);
        return 1; //shouldnt it be here?
    }
    else
    {
       SendClientMessage(killerid,red,"Dont kill outside a DM!");
       return 1;
    }
remove the message if youd like. IDK if it will work im still a newb.
Reply


Messages In This Thread
help =D - by MestreKiller - 21.12.2010, 11:36
Re: help =D - by blackwave - 21.12.2010, 11:42
Re: help =D - by Spiral - 21.12.2010, 11:43
Re: help =D - by MestreKiller - 21.12.2010, 11:48
Re: help =D - by blackwave - 21.12.2010, 11:53
Re: help =D - by MestreKiller - 21.12.2010, 12:01
Re: help =D - by blackwave - 21.12.2010, 12:05
Re: help =D - by MestreKiller - 21.12.2010, 12:20
Re: help =D - by Babul - 21.12.2010, 12:33
Re: help =D - by MestreKiller - 21.12.2010, 12:43

Forum Jump:


Users browsing this thread: 1 Guest(s)