Add a new command
#2

Assuming you use ZCMD
pawn Код:
CMD:para(playerid, params[])
{
    SendClientMessage(playerid, -1, "Parachute given" );
    GivePlayerWeapon(playerid, 46, 500);
    return 1;
}
If not use:
pawn Код:
if(!strcmp(cmdtext, "/para"))
 {
    SendClientMessage(playerid, -1, "Parachute given" );
    GivePlayerWeapon(playerid, 46, 500);
    return 1;
}
For weapon ids Click
Reply


Messages In This Thread
Add a new command - by alimash - 24.04.2013, 17:08
Re: Add a new command - by DaRk_RaiN - 24.04.2013, 17:17
Re: Add a new command - by rpg894 - 24.04.2013, 17:39
Re: Add a new command - by XStormiest - 24.04.2013, 17:57
Re: Add a new command - by zT KiNgKoNg - 24.04.2013, 17:59
Re: Add a new command - by alimash - 24.04.2013, 18:10

Forum Jump:


Users browsing this thread: 1 Guest(s)