[FilterScript] AutoMapNameChanger By ReD_DeVi
#1

Hello Guys

This is My New FS AutoMapNameChanger And This is Also My Second FS

if you want the code here it is

pawn Код:
//Made By ReD_DeVi Dont Remove Credits Please
//I Know This is Simple
//if you liked rep me
#include <a_samp>
#define FILTERSCRIPT
//
forward mapname(); forward mapname2(); forward mapname3();
//
#define mapnamechangetime 1000
//
public OnFilterScriptInit()
{
    SetTimer("mapname", 1000, 0);
    return 1;
}
///--- map name 1  ---
public mapname() { SendRconCommand("mapname YoYo ");  return SetTimer("mapname2", mapnamechangetime, 0); }
//  --- map name 2 --
public mapname2(){ SendRconCommand("mapname Hate It"); return SetTimer("mapname", mapnamechangetime, 0); }

//======Map 3
public mapname3(){ SendRconCommand("mapname Love it"); return SetTimer("mapname3", mapnamechangetime, 0); }
or in pastebin

http://pastebin.com/FAqWaU7z

Credits:
Made By = ReD_DeVi

Thanks To SA-MP For a_samp include

introducion:
i have added only 3 mapchanger if you want you can add more but please keep my credits and i hope you will like it if you liked it dont forget to

+rep me Please
Reply
#2

Takes 2 Secound to make that...
But nice any way
Reply
#3

Quote:
Originally Posted by AviPeker
Посмотреть сообщение
Takes 2 Secound to make that...
But nice any way
I don't know what "Secound" is but anyways, I bet you $500 that you can't make this in 2 seconds.

-----------------------------------------

Anyways, you only need 1 timer.
pawn Код:
public OnFilterScriptInit(){
    SetTimer("mapname", 1000, 1);
    return 1;
}

new mapcount;
forward mapname();
public mapname(){
    switch(mapcount){
        case 0: SendRconCommand("mapname MAP_1");
        case 1: SendRconCommand("mapname MAP_2");
        case 2: SendRconCommand("mapname MAP_3");
        case 3: SendRconCommand("mapname MAP_4");}
    mapcount++;
    if(mapcount > 3) mapcount = 0;
}
Reply
#4

I just simply made timer
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)