/cc command
#1

Hey Everyone!

i did a dialog with checkpoint and list of cars.

Now , i want this:

When Player Will do /CC on the chat , it will be send him his car [The car his chosen from the dialog checkpoint].



** the car system dosen't save **
Reply
#2

Код:
#include <zcmd>
Код:
CMD:cc(playerid, params[])
{
     for(new i; i < 50; i++)
     {
         SendClientMessageToAll(0x33FF33FF," ");
     }
     SendClientMessageToAll(0xFF0000FF,"^^Chat Clear^^ ");
    return 1;
}
Reply
#3

pawn Код:
CMD:clearchat(playerid, params[]) {
    return cmd_cc(playerid, params);
}

CMD:cc(playerid, params[])
{
    foreach(Player, i)
    {
        if(PlayerInfo[playerid][pAdmin] >= 6)
        {
            for(new e = 0; e < 4; e++) ClearChatbox(i);
        }
    }
    return 1;
}
Reply
#4

Quote:
Originally Posted by Lloyde
Посмотреть сообщение
pawn Код:
CMD:clearchat(playerid, params[]) {
    return cmd_cc(playerid, params);
}

CMD:cc(playerid, params[])
{
    foreach(Player, i)
    {
        if(PlayerInfo[playerid][pAdmin] >= 6)
        {
            for(new e = 0; e < 4; e++) ClearChatbox(i);
        }
    }
    return 1;
}
i asked for /CallCar Command lol.

the /CallCar command will send him his car [the car he chosen in my dialog].

dialog name: DIALOG_WEAPONS
Reply
#5

Quote:
Originally Posted by WorldPro
Посмотреть сообщение
i asked for /CallCar Command lol.

the /CallCar command will send him his car [the car he chosen in my dialog].

dialog name: DIALOG_WEAPONS
Show us the coding you made with the dialog so we can make the /callcar command attached to the dialog coding like how the car is spawned and how everything is coded.
Reply
#6

Quote:
Originally Posted by dannyk0ed
Посмотреть сообщение
Show us the coding you made with the dialog so we can make the /callcar command attached to the dialog coding like how the car is spawned and how everything is coded.
OnDialogResponse:
http://pastebin.com/f7sT2AcW
Reply
#7

BUMP.
Reply
#8

bump.
Reply
#9

Hey you can't bump a thread on the same day, I'll take a look into the code.
Reply
#10

Quote:
Originally Posted by AchievementMaster360
Посмотреть сообщение
Hey you can't bump a thread on the same day, I'll take a look into the code.
wow someone to help me.

thanks dude!

replay me later when you finished.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)