My basic & clean RP gamemode [indev] -
vent - 17.09.2011
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 ;<)
and for f**king estonians, i have the estonian version too ;>
Re: My basic & clean RP gamemode -
kiss - 17.09.2011
There's no download:P
And who cares how old are you

?
Re: My basic & clean RP gamemode -
vent - 17.09.2011
Yea nььd on ;>
Re: My basic & clean RP gamemode -
vent - 17.09.2011
Lol, it says BASIC and it aint a larp or gf edit. ;>
Re: My basic & clean RP gamemode -
Aprezt - 17.09.2011
Vдhemalt teed midagi savi ,et mingi pisike larp edit
Re: My basic & clean RP gamemode -
vent - 17.09.2011
No aga pole ju larpi edit.
Re: My basic & clean RP gamemode -
SupremeCommander - 17.09.2011
Not bad for 12 yr old dude....
Re: My basic & clean RP gamemode -
Aprezt - 17.09.2011
Miks sa ei teinud sugu ja vanuse valikut ka ?
/Edit in ENGLISH: Why you dont do a sex and age dialogs.
Re: My basic & clean RP gamemode -
vent - 17.09.2011
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. ;>
Re: My basic & clean RP gamemode -
Aprezt - 17.09.2011
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!
Re: My basic & clean RP gamemode -
vent - 17.09.2011
ma teen praegu skinnivдrki. kas teeks dialoogiga vхi /setskin vхi /buyskin?
English: Im doing the skinsystem right now.
Re: My basic & clean RP gamemode -
Aprezt - 17.09.2011
Tee dialogiga ja дkki annaksid oma MSNi mulle saaksin abistada sind
InENGLISH : Do dialog and add me MSN
Re: My basic & clean RP gamemode -
ModianO - 17.09.2011
Cool story bro
Re: My basic & clean RP gamemode -
vent - 17.09.2011
hellyea.
Re: My basic & clean RP gamemode -
FreshDoubleX - 17.09.2011
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.
Re: My basic & clean RP gamemode -
vent - 17.09.2011
//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.
Re: My basic & clean RP gamemode -
BigAl - 17.09.2011
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
Re: My basic & clean RP gamemode -
vent - 17.09.2011
Dynamic ingame clock added. ;> and yes, i am 12 years old.
Re: My basic & clean RP gamemode -
=WoR=G4M3Ov3r - 17.09.2011
Not bad for your age..
Re: My basic & clean RP gamemode -
BigAl - 17.09.2011
Vent, reply to my personal message please?