Show Vehicle Name Problem
#3

Thanks for the reply. It compiles with no errors but it will not display the vehicle name.
I have also modified it to this:

pawn Код:
public UpdateText(playerid)
{
    for(new i=0; i<SLOTS;i++)
      if(IsPlayerConnected(i))
      {
        new NEWTEXT[256];
        if(IsPlayerInAnyVehicle(playerid))
                {
                    format(NEWTEXT,256, "Location: %s Vehicle: %s", GetPlayerArea(i),VehNames[GetVehicleModel(GetPlayerVehicleID(playerid))+400]);
                    TextDrawSetString(Location[i], NEWTEXT);
                }else{
                format(NEWTEXT,256, "Location: %s", GetPlayerArea(i));
                    TextDrawSetString(Location[i], NEWTEXT);
                }
        }
    return 1;
}
Anybody have any ideas on how to fix this, Thanks.
Reply


Messages In This Thread
Show Vehicle Name Problem - by Alec24 - 13.04.2009, 00:16
Re: Show Vehicle Name Problem - by ICECOLDKILLAK8 - 13.04.2009, 01:03
Re: Show Vehicle Name Problem - by Alec24 - 13.04.2009, 02:03
Re: Show Vehicle Name Problem - by ICECOLDKILLAK8 - 13.04.2009, 02:10
Re: Show Vehicle Name Problem - by Alec24 - 13.04.2009, 02:18

Forum Jump:


Users browsing this thread: 1 Guest(s)