SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

Thread Tools Display Modes
Old 30/05/2010, 05:10 PM   #1
jameskmonger's Avatar
Join Date: Nov 2009
Location: London, England
Posts: 1,159
Reputation: 76
Default Mobile Phone System

How would I go about making it?
I know how to make it so that it lets you phone a number (use a for loop, see which player has that number, initiate the call) but I do not know how to make it so that if you talk, they get the message as well.
jameskmonger is offline  
Old 30/05/2010, 08:00 PM   #2
azzerking's Avatar
Join Date: Dec 2009
Location: England, Leicestershire
Posts: 491
Reputation: 70
Default Re: Mobile Phone System

Explain Better!

Web Skill: PHP, HTML, CSS, JS, RUBY, NODE.js.

Programing Skill: Objective C, C#, C++, D#, Python, Java, MySQL.

OS Skill: Windows (95 - 10), Ubuntu/Debian, Raspbian, Kali, Arch, Unix, Mac (E-MACs - Current)

Scripting Skill: LUA, Pawn, C38*
azzerking is offline  
Old 30/05/2010, 09:05 PM   #3
Join Date: Jul 2008
Location: Canada
Posts: 1,013
Reputation: 84
Default Re: Mobile Phone System

Just do this in onplayertext:

if(HasCalledSomeone[playerid] == 1)
new string[256];
new pname[MAX_PLAYER_NAME];
format(string,sizeof(string),"%s says (on phone): %s",pname,text);
return 0;
coole210 is offline  

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] [FS]Phone System v1 _Tw1xEr_ Filterscripts 15 12/06/2011 09:17 PM
Help with my phone system Keeboo13 Help Archive 5 24/04/2010 09:22 PM
Mobile Phone System Drake_Peck Help Archive 4 13/11/2009 11:28 PM
Mobile Phone Directory UK only Fluxxy Everything and Nothing 2 09/07/2009 09:04 PM

All times are GMT. The time now is 02:30 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.