13.06.2013, 08:26
Hey my first FS , I dont even know if thats filterscript if not sry I upload but anyway :
This is not system just admins command : to give to himself or playerid an full weapon set:
This is not system just admins command : to give to himself or playerid an full weapon set:
Код:
// This is a comment // uncomment the line below if you want to write a filterscript #define FILTERSCRIPT #include <a_samp> #include <ZCMD> #if defined FILTERSCRIPT public OnFilterScriptInit() { print("\n--------------------------------------"); print(" Full Weapons Set by PFG-RP"); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } CMD:giveplayerfullset(playerid, params[]) { new giveplayerid; { GivePlayerWeapon(giveplayerid, 24, 60000); GivePlayerWeapon(giveplayerid, 29, 60000); GivePlayerWeapon(giveplayerid, 31, 60000); GivePlayerWeapon(giveplayerid, 30, 60000); GivePlayerWeapon(giveplayerid, 25, 60000); GivePlayerWeapon(giveplayerid, 33, 60000); SetPlayerHealth(giveplayerid, 100.0); SetPlayerArmour(giveplayerid, 100.0); } return 1; } CMD:givemefullset(playerid, params[]) { GivePlayerWeapon(playerid, 24, 60000); GivePlayerWeapon(playerid, 29, 60000); GivePlayerWeapon(playerid, 31, 60000); GivePlayerWeapon(playerid, 30, 60000); GivePlayerWeapon(playerid, 25, 60000); GivePlayerWeapon(playerid, 33, 60000); SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); } return 1; } #endif