[FilterScript] Weapon spawner command
#6

Can I simplify dat for you?

pawn Код:
#define FILTERSCRIPT
 
#include <a_samp>
#include <zcmd>
#include <sscanf2>
 
public OnFilterScriptInit()
{
        print("\n--------------------------------------");
        print(" Weapon    spawner    BY      BlackHorse");
        print("--------------------------------------\n");
        return 1;
}
 
public OnFilterScriptExit()
{
        return 1;
}

CMD:w(playerid, params[])
{
     new weapid;
     if(sscanf(params, "d", weapid)) return SendClientMessage(playerid, -1, "/w [id] ");
     else GivePlayerWeapon(playerid, weapid, 355);
     return 1;
}
Reply


Messages In This Thread
Weapon spawner command - by BlackHorse - 11.04.2013, 09:59
Re: Weapon spawner command - by MP2 - 11.04.2013, 10:13
Re: Weapon spawner command - by TheSka - 11.04.2013, 10:17
Re: Weapon spawner command - by RajatPawar - 11.04.2013, 10:35
Re: Weapon spawner command - by BlackHorse - 11.04.2013, 10:38
Re: Weapon spawner command - by CreativityLacker - 11.05.2013, 20:04
Re: Weapon spawner command - by Rimmon - 12.05.2013, 04:28

Forum Jump:


Users browsing this thread: 2 Guest(s)