Improving this command plox <3
#1

ok i have this cmd
pawn Код:
CMD:maketiki(playerid, params[])
{
    if(PlayerInfo[playerid][pAdmin] <= 4)
    {
        return SendClientMessageEx(playerid, COLOR_GRAD1, "You are not authorized to use this command.");

    }
    if(IsPlayerInAnyVehicle(playerid))
    {
        return SendClientMessage(playerid,COLOR_GRAD2,"   You can't do that while in a vehicle !");
    }
    new string[64];
    new Float:X,Float:Y,Float:Z;
    new location[MAX_ZONE_NAME];
    GetPlayerPos(playerid,X,Y,Z);
    CreateTiki(X, Y, Z);
    SetPlayerPos(playerid, X, Y-2, Z);
    SendClientMessageEx(playerid, COLOR_GRAD1,"* Tiki created !");
    GetPlayer2DZone(playerid, location, MAX_ZONE_NAME);
    format(string, sizeof(string), "AdmWarning: %s has created a tiki in %s.", GetPlayerNameEx(playerid), location);
    ABroadCast(COLOR_LIGHTRED, string, 1);
    return 1;
}
i want it to have a message when made above the actual tiki saying type /picktiki to pick it up please help
Reply


Messages In This Thread
Improving this command plox <3 - by NinjaChicken - 29.08.2012, 07:39
Re: Improving this command plox <3 - by romas3110 - 29.08.2012, 07:51
Re: Improving this command plox <3 - by scottyishere - 29.08.2012, 08:00

Forum Jump:


Users browsing this thread: 1 Guest(s)