How does these Stock functions works?
#1

Can i just add them in code end, like example i wanna make if player is lower than 3 stars wanted level then hes player icon color will be yellow then sould i do like:
pawn Код:
Stock WantedColor(playerid)
{
        if(GetPlayerWantedLevel(playerid) > 3)
        {
                SetPlayerColor(playerid,COLOR_YELLOW);
        }
        return 1;
}
Its seem like that wont work.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)