Problem with Textdraw showing
#3

i put that but it still doesn't working ...

when i spectate somebody, it doesn't show speedometer ... why...

spec command

Код:
CMD:recon(playerid, params[])
{
    new id, string[128];
    if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, COLOR_WHITE, ""#COL_RED"| "COL_LIGHTBLUE"WS:DM "#COL_RED"| "#COL_WHITE"Niste ovlasteni za ovu komandu");
    if(sscanf(params, "u", id)) return SendClientMessage(playerid, COLOR_WHITE, "/recon [playerid]");
    if(id == INVALID_PLAYER_ID || !IsPlayerConnected(id)) return SendClientMessage(playerid, COLOR_WHITE, ""#COL_RED"| "COL_LIGHTBLUE"WS:DM "#COL_RED"| "#COL_WHITE"Pogresan ID");
    TogglePlayerSpectating(playerid, 1);
    AC_BS_SetPlayerInterior(playerid, GetPlayerInterior(id));
    if(IsPlayerInAnyVehicle(id))
    {
        new specvehicleid = GetPlayerVehicleID(id);
        PlayerSpectateVehicle(playerid, specvehicleid);
        TextDrawShowForPlayer(playerid,BRZINA[playerid]);
		TextDrawShowForPlayer(playerid,ZDRAVLJE[playerid]);
    }
    else
    {
        PlayerSpectatePlayer(playerid, id);
    }
    format(string, sizeof(string), "Sada reconas %s, da ga prestanes reconat koristi: /uncon", PlayerName(id));
    SendClientMessage(playerid, Grey, string);
    return 1;
}
Reply


Messages In This Thread
Problem with Textdraw showing - by FL3GM4 - 02.01.2013, 21:27
Re: Problem with Textdraw showing - by [DOG]irinel1996 - 02.01.2013, 22:42
Re: Problem with Textdraw showing - by FL3GM4 - 03.01.2013, 23:30

Forum Jump:


Users browsing this thread: 1 Guest(s)