Speedometer only works for 1st person joining server.
#9

pawn Код:
public OnGameModeInit()
{
    for(new i=0;i<MAX_PLAYERS;i++)
    {
        // your "TextDrawCreate" and "TextDrawSet..." things come here.
        // replace playerid with i
    }
    return 1;
}
results.

pawn Код:
public OnGameModeInit()
{
    for(new i=0;i<MAX_PLAYERS;i++)
    {
        speed[i] = TextDrawCreate(478,389,"_");
        TextDrawLetterSize(speed[i],0.37,2.0);
        TextDrawSetOutline(speed[i],1);
        TextDrawFont(speed[i], 2);
        fuel[i] = TextDrawCreate(478,413,"_");
        TextDrawLetterSize(fuel[i],0.37,2.0);
        TextDrawSetOutline(fuel[i],1);
        TextDrawFont(fuel[i], 2);
    }
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)