CreateDynamic3DTextLabel help!
#7

What's wrong with this ?
pawn Код:
CMD:callsign(playerid, params[])
{
    new string[128], player, callsign;
    if(sscanf(params, "uc", playa, callsign))
    {
        SendClientMessageEx(playerid, COLOR_GRAD2, "USAGE: /callsign [playerid] [callsign]");
        return 1;
    }
    if (PlayerInfo[playerid][pAdmin] >= 4) {
            for(new i; i<MAX_PLAYERS; i++)
            {
                 if(IsPlayerConnected(i))
                 {
                    if(IsACop[i] == IsACop[playerid] && playerid != i)
                    {
                        CreatePlayer3DTextLabel(i, callsign, 0xFF3399AA, 0.0, 0..0, 0.8, 220.0, playerid, INVALID_VEHICLE_ID, 1)
                    }
                }
            }
        }
        else SendClientMessageEx(playerid, COLOR_GRAD1, "Invalid player specified.");
    }
    else {
        SendClientMessageEx(playerid, COLOR_GRAD1, "You are not authorized to use that command!");
    }
    return 1;
}
Reply


Messages In This Thread
CreateDynamic3DTextLabel help! - by ShawnMiller1337 - 03.02.2012, 02:43
Re: CreateDynamic3DTextLabel help! - by ShawnMiller1337 - 03.02.2012, 05:41
Re: CreateDynamic3DTextLabel help! - by T0pAz - 03.02.2012, 05:53
Re: CreateDynamic3DTextLabel help! - by ShawnMiller1337 - 03.02.2012, 06:01
Re: CreateDynamic3DTextLabel help! - by ShawnMiller1337 - 03.02.2012, 07:57
Re: CreateDynamic3DTextLabel help! - by ғαιιοцт - 03.02.2012, 07:58
Re: CreateDynamic3DTextLabel help! - by ShawnMiller1337 - 03.02.2012, 09:16
Re: CreateDynamic3DTextLabel help! - by ShawnMiller1337 - 03.02.2012, 09:33
Re: CreateDynamic3DTextLabel help! - by ShawnMiller1337 - 03.02.2012, 17:53

Forum Jump:


Users browsing this thread: 1 Guest(s)