Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // 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(" Blank Filterscript by your name here");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit(){
- return 1;
- }
- #endif
- new RandomMSG[][] =
- {
- "/fstyles to see this server's fighting styles.",
- "/fstyle1 fight style boxing.",
- "/fstyle2 fight style knee head.",
- "/fstyle3 fight style kung fu.",
- "/fstyle4 fight style normal or grab kick.",
- "RMB + F or Enter to check your fighting style."
- };
- forward sendMSG();
- public sendMSG()
- {
- new randMSG = random(sizeof(RandomMSG));
- SendClientMessageToAll(0x009500FF, RandomMSG[randMSG]);
- }
- CMD:fstyle1(playerid, params[]){
- SetPlayerFightingStyle(playerid, FIGHT_STYLE_BOXING);
- SendClientMessage(playerid, 0x009500FF, "Now your fighting style is boxing RMB + F or Enter to check boxing style");
- }
- CMD:fstyle2(playerid, params[]){
- SetPlayerFightingStyle(playerid, FIGHT_STYLE_KNEEHEAD);
- SendClientMessage(playerid, 0x009500FF, "Now your fighting style is knee head RMB + F or Enter to check knee head style");
- }
- CMD:fstyle4(playerid, params[]){
- SetPlayerFightingStyle(playerid, FIGHT_STYLE_GRABKICK);
- SendClientMessage(playerid, 0x009500FF, "Now your fighting style is knee head RMB + F or Enter to check grab kick or normal style");
- }
- CMD:fstyle3(playerid, params[]){
- SetPlayerFightingStyle(playerid, FIGHT_STYLE_KUNGFU);
- SendClientMessage(playerid, 0x009500FF, "Now your fighting style is knee head RMB + F or Enter to check kung fu style");
- }
- CMD:fstyles(playerid, params[]){
- ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "FIGHTING STYLES", "{00FF00}/fstyle1 BOXING Style\n{00FF00}/fstyle2 KUNGFU Style\n{00FF00}/fstyle3 KNEE HEAD Style\n{00FF00}/fstyle4 GRAB KICK OR NORMAL Style", "OK", "CANCEL");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement