[Tutorial] Making simple hitman contract system[Zcmd,sscanf2]
#4

pawn Код:
Hitman[targetid] = 1;//Checking that the targetid has a contract
// Not Checking, its setting the targetid to hitman
-------------------------------------------------
    for(new i=0; i<MAX_PLAYERS; i++)
    {
        if(i==playerid)
        {
            HitContract[i] = 1;//Checking that player has planted a hitman
        }
    }

// Why loop?? just add HitContract[playerid] = 1;
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)