[Include] Notepad v1.0
#1

Hi,
I want to present you my newest include. So this is a notepad.IG you can save things (notes) and read them later

In include you can find some examples of usage, my CMD-s and some dialogs.

Native Functions:

Код:
//for making the notepad
KreirajBeleznicu(playerid);

//opening the notepad
OtvoriBeleznicu(playerid);

//Delete user notes
ObrisiBeleznicu(playerid);
Callbacks:

Код:
//loading datas
UcitajBeleske_data(playerid,name[],value[])

//include starting
OtvaramoBeleske()
Examples of usage in include
Commands:
/obrisibeleske //delete users notes
/otvoribelesku //read your notes
/kreirajbelesku (+choose slot dialog) //make notes (8 slots)

Notes Save is based on slots. You choose slot in dialog and the system saves it in your .ini file.

I'll make the update very soon!

Pictures:
-create notes: http://prntscr.com/31g3rg
-read notes: http://prntscr.com/31g45m
-Look in .ini file: http://prntscr.com/31g4ff

Download

With EXAMPLES (cmds and dialogs): http://www.solidfiles.com/d/681ea909..._primerima.zip

Only funcktions and callbacks: http://www.solidfiles.com/d/6d6f2536...ez_primera.zip

Install instruction on this link (translated): http://pastebin.com/2PQyV3RZ

I hope you'll like it
Reply
#2

Will be better if the functions would be in English.
Reply
#3

eng?
Reply
#4

Nek i neki balkanac zna nesto haha

English: It's good that someone from Balcan can do the scripting

Rep
Reply
#5

There are at least two reasons this should be English.

1. This is an English forum. Nobody here is going to use your script if they don't understand the functions.
2. SA-MP is English. The API is English. You should stick to English so it's consistent.
Reply
#6

Nice
Reply
#7

Quote:
Originally Posted by MP2
Посмотреть сообщение
There are at least two reasons this should be English.

1. This is an English forum. Nobody here is going to use your script if they don't understand the functions.
2. SA-MP is English. The API is English. You should stick to English so it's consistent.
//for making the notepad
KreirajBeleznicu(playerid); -> CreateNotepad(playerid);
//opening the notepad
OtvoriBeleznicu(playerid); -> OpenNotepad(playerid);
//Delete user notes
ObrisiBeleznicu(playerid); -> DestroyNotepad(playerid);
//loading datas
UcitajBeleske_data(playerid,name[],value[]) -> LoadNotes_data(playerid,name[],value[]);
//include starting
OtvaramoBeleske() -> OpenNotes();

Just rename functions in a include file.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)