[GameMode] My basic & clean RP gamemode
#1

aCe' Gaming 2011 (fully english)
Um, hi. This is my first made from scratch role-play gamemode for using free. And yes, i am 12 years old so dont annoy me with typos and etc. I have written all this by myself.

Commands:
/help
/stats
/pay
/call
/pickup
/hangup
/number
/s
/me
/do
/b/
/o
/admins
/pm
/veh
Admin commands:
/veh
/noooc
/aod
/setskin
/setage
/makeadmin
/warn
/kick
/ban
/unban
/unbanip
/givegun
* vent slaps around a bit with a large trout.
/freeze
/unfreeze
Functions:
Phone system,
IC and OOC channels,
Register and login system with dialogs,
RP name check,
Serverside money,
Pay system,
Position saving system,
Dynamic ingame clock,

ToDo:
Jobs,
ALMOST DONE: Age and sex system
ALMOST DONE: Add some mapping with faction cars (ems and police)
Known bugs:
Trucker job wont save,
phone system doesnt work correctly,
saving pos system wont load your location,
(so much bugs ;<)


Releases:
1.37(LATEST)
1.36
1.35
1.3
1.1 (with needed files)
1.1 (fixed 1 error ;>)
1.0
And credits to Martin aka Ventilaator and Timo aka Mr.Razor.
Big credits to Auxx, [HiC]TheKiller, Kush, PPC for their filterscripts and tutorials. ;>
and for f**king estonians, i have the estonian version too ;>
Reply
#2

There's no download:P
And who cares how old are you?
Reply
#3

Yea nььd on ;>
Reply
#4

Lol, it says BASIC and it aint a larp or gf edit. ;>
Reply
#5

Vдhemalt teed midagi savi ,et mingi pisike larp edit
Reply
#6

No aga pole ju larpi edit.
Reply
#7

Not bad for 12 yr old dude....
Reply
#8

Miks sa ei teinud sugu ja vanuse valikut ka ?



/Edit in ENGLISH: Why you dont do a sex and age dialogs.
Reply
#9

Ma proovin teha 1.2's selle дra.
In english: I'll try to do that in 1.2 ;>
EDIT: Position saving system is done, not releasing yet. ;>
Reply
#10

Kui released siis tee vanuse ja sugu asi ka дra ja kasutajate postisiooni salvestumise siis tubli poiss ja asjal on mхtet ka.


// English: When you release do a sex and age systemd and player position system done then release new version!
Reply
#11

ma teen praegu skinnivдrki. kas teeks dialoogiga vхi /setskin vхi /buyskin?

English: Im doing the skinsystem right now.
Reply
#12

Tee dialogiga ja дkki annaksid oma MSNi mulle saaksin abistada sind


InENGLISH : Do dialog and add me MSN
Reply
#13

Cool story bro
Reply
#14

hellyea.
Reply
#15

Lol!
Anyways, not bad for a 12 years old boy.

// Arenda edasi, liiga vara riliisisid. Palju on veel teha. Sa oled seda ca 2 nдdalat aind teinud, kui siis max 1 kuu.
// Sa ei pea kasutama kahte command protsessorit, nagu ma nдen siis sul on dcmd ja zcmd, mхlemat oled kasutanud.
Reply
#16

//Okei, kasutab nььd ainult zcmd'd. Ьks probleem on kah.
It uses only zcmd now. One problem too.
pawn Code:
if(dialogid == 7)
    {
        if(response)
        {
            if(!strlen(inputtext))
                ShowPlayerDialog(playerid, 198, DIALOG_STYLE_INPUT, "SKIN", "Please input a skin ID to change your skin:", "Send", "Close");
            if(strval(inputtext) < 0 || strval(inputtext) > 299)
                ShowPlayerDialog(playerid, 198, DIALOG_STYLE_INPUT, "SKIN", "Invalid Skin ID. Choose another:", "Send", "Close");
            SetPlayerSkin(playerid, strval(inputtext));
            new str[64];
            format(str, 128, "New skin: %d", strval(inputtext));
            SendClientMessage(playerid, 0xFFFF00FF, str);
        }
    }
needs to be added to
pawn Code:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    switch( dialogid )
    {

        case DIALOG_REGISTER:
        {
            if (!response) return Kick(playerid);
            if(response)
            {
                if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, ""COL_WHITE"Registering...",""COL_RED"You have entered an invalid password.\n"COL_WHITE"Type your password below to register a new account.","Register","Quit");
                new INI:File = INI_Open(UserPath(playerid));
                INI_SetTag(File,"data");
                INI_WriteInt(File,"Password",udb_hash(inputtext));
                INI_WriteInt(File,"Cash",0);
                INI_WriteInt(File,"Admin",0);
                INI_WriteInt(File,"Telefoninumber", 0);
                INI_WriteInt(File,"Kills",0);
                INI_WriteInt(File,"Deaths",0);
                INI_WriteInt(File,"Annetaja",0);
                INI_WriteInt(File,"Sugu",1);
                INI_WriteInt(File,"Vanus",0);
                INI_WriteInt(File,"Hoiatusi",0);
                INI_WriteInt(File,"P2rit",1);
                INI_WriteInt(File,"Lukus",0);
                INI_Close(File);

                new randphone = 500000 + random(599999);
                PlayerInfo[playerid][pNumber] = randphone;
                Mobile[playerid] = 255;
                SetSpawnInfo(playerid, 0, 0,-1464.5887,2590.8757,55.8359,0.5974,0,0,0,0,0,0);
                SpawnPlayer(playerid);
                ShowPlayerDialog(playerid, DIALOG_SUCCESS_2, DIALOG_STYLE_MSGBOX,""COL_WHITE"Хnnestus!",""COL_GREEN"Sa logisid sisse.\n "COL_GREEN"Serveri nimi: "COL_WHITE"aCe' Gamingu Rollimдngu server [0.3c]\n "COL_GREEN"IP:"COL_WHITE"88.196.165.136\n "COL_GREEN"TS:"COL_WHITE"88.196.165.136","Okei","");
            }
        }

        case DIALOG_LOGIN:
        {
            if ( !response ) return Kick ( playerid );
            if( response )
            {
                if(udb_hash(inputtext) == PlayerInfo[playerid][pPass])
                {
                    INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
                    GivePlayerMoney(playerid, PlayerInfo[playerid][pCash]);
                    Mobile[playerid] = 255;
                    SetSpawnInfo(playerid, 0, 0,-1464.5887,2590.8757,55.8359,0.5974,0,0,0,0,0,0);
                    SpawnPlayer(playerid);
                    ShowPlayerDialog(playerid, DIALOG_SUCCESS_1, DIALOG_STYLE_MSGBOX,""COL_WHITE"Хnnestus!",""COL_GREEN"Sa logisid sisse.\n "COL_WHITE"Serveri nimi: aCe' Gamingu Rollimдngu server [0.3c]\n IP:88.196.165.136\n TS:88.196.165.136","Okei","");
                }
                else
                {
                    ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_RED"Sa sisestasid vale parooli.\n"COL_WHITE"Sisesta oma parool, et sisse logida","Logi sisse","Lahku");
                }
                return 1;
            }
        }

    }
    return 1;
}
It would be cool if during the registering it will let you to choose your skin.
Reply
#17

Rep+ and Rated 4 star. Wow, pretty good for your first RP gamemode, and your only 12? Hope theres going to be lots and lots more updates to come, good luck
Reply
#18

Dynamic ingame clock added. ;> and yes, i am 12 years old.
Reply
#19

Not bad for your age..
Reply
#20

Vent, reply to my personal message please?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)