3 Questions.
#1

I'm currently creating a script and I need to know 3 things on ZCMD.

1. How do I create a simple random phone number creator?
2. How do I create a simple call system?
3. How do I create a simple SMS system?

IF you want to help, thanks already !
Reply
#2

1)
pawn Код:
#define PHONE_NUMBER  (100000 + random(899999)) //100.000 + random(899.999)) > promising to have 6 digits phone number
// set this variable when player enters a shop, etc..
var[playerid][phone] = PHONE_NUMBER;
2) There are TONS of those @ the forum, for instance: http://forum.sa-mp.com/showthread.ph...ighlight=phone, educate yourself.
3) Same goes to 3 here, when you have your own phone system, simply create a cmd to enter a phone number, check if the phone number exist (the guy who owns that phone number online), if yes show a dialog which you can enter text and it'll send the message to him, etc...
Reply
#3

I'm gonna try Thank you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)