SA-MP Forums Archive
How to make a directory for phone? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to make a directory for phone? (/showthread.php?tid=455042)



How to make a directory for phone? - KellyG - 31.07.2013

Hi, how to create a directory for our phone, including grouping conacts:
Their name, their phone number, and with a limited number of slots (30 for example), then enter 30 contacts maximum. Bye


Re: How to make a directory for phone? - Sellize - 31.07.2013

Whaatttt.... ?!


Re : How to make a directory for phone? - KellyG - 31.07.2013

A menu for group contacts (phone number, as well as the nickname of the person) on the phone, a wholesale directory.
Sorry for my english.

exemple :

http://image.noelshack.com/fichiers/...-26f7b9419.png


Re: How to make a directory for phone? - RajatPawar - 31.07.2013

pawn Код:
#define MAX_CONTACTS_IN_DIRECTORY 5enum pINFO
#define MAX_NUMBERS_IN_PHONE_NO 10
{
     pCONTACTS[MAX_CONTACTS_IN_DIRECTORY][MAX_NUMBERS_IN_PHONE_NO]
}
new PlayerInfo[MAX_PLAYERS][pINFO];
Something like this may work.
pawn Код:
CMD:addcontact
{
    PlayerInfo[playerid][pCONTACTS][targetid][targetids_phone_no];
}



Re : How to make a directory for phone? - KellyG - 31.07.2013

So to show our contacts?