Some Admin cmds
#1

I need some help with admin cmds (I use dcmd):

/fly (So I can go anywhere by flying)
/createveh (So I can create any vehicle anywhere)
/teleports (when I teleport someone it shows: you succesfully teleported 55544443343553 to PD)

and some other cmds... what you suggest me? Pls post

P.s.: My /sendtopd (sends players to police departament):

pawn Код:
dcmd_sendtopd(playerid, params[])
{
    new targetid, pName[MAX_PLAYER_NAME], Float:x, Float:y, Float:z;
    GetPlayerPos(playerid, Float:x, Float:y, Float:z);
    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
    if(sscanf(params, "u", pName)) return SendClientMessage(playerid, COLOR_RED, "/sendtopd [playerid]");
    else if(IsPlayerAdmin(playerid)) return SendClientMessage(playerid, COLOR_RED, "You have no access to this command");
    else if(targetid == INVALID_PLAYER_ID) return SendClientMessage(playerid, COLOR_GREEN, "Player Not Found");
    else
    {
        SetPlayerPos(targetid, 1517.1479,-1619.2880,15.0087);
        SendClientMessage(playerid, COLOR_LIGHTBLUE, "You transfered %u to Police Departament");
    }
    return 1;
}
It shows like this:

You transfered 249234218 to Police Departament.

i need it like:

You transfered Nat(id) to Police Departament

And pls my other requests. thanks in advice
Reply


Messages In This Thread
Some Admin cmds - by Rivera - 14.03.2011, 15:12
Re: Some Admin cmds - by Jeffry - 14.03.2011, 15:33
Re: Some Admin cmds - by Rivera - 14.03.2011, 15:40
Re: Some Admin cmds - by Jeffry - 14.03.2011, 16:30
Re: Some Admin cmds - by Ricop522 - 14.03.2011, 16:33

Forum Jump:


Users browsing this thread: 1 Guest(s)