Arguement Type Mismatch
#1

pawn Код:
if(KillStreak[killerid] == 5)
    {
        for(new i; i < MAX_PLAYERS; i ++)
        {
            if(IsPlayerConnected(i))
            {
                format(string, sizeof(string), "%s is on a killstreak of ~r~5~w~ kills!", name);
                TextDrawSetString(KillStreak, string); //I GET ARGUMENT TYPE MISMTACH HERE
                TextDrawShowForPlayer(i, KillStreakText);
            }
        }
    }
Please tell me why that code that's commented keeps giving me an error. I can't figure it out. I got everything defined.
Reply
#2

pawn Код:
TextDrawSetString ( KillStreakText, string ) ;
Reply
#3

Wtf, lol.... thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)