SA-MP Forums Archive
/tracephone command - 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: /tracephone command (/showthread.php?tid=292834)



/tracephone command - ProgreSS - 25.10.2011

So, here, i guess this will tell you all:

FBI can trace calls :

Command:
/tracephone [NUMBER]
/stoptrace
If the person is not talking : The person is not talking !
If it's togphone : Phone is turned off !

System: FBI types the phone number and if the person is talking , he can see what the tracked person says and the person he's talking whit , untill the call ends .
If something gets bugged like the person got called in that time, or simmilar, /stoptrace to get everything like it was.
FBI Ranks 1+
-------------------------------------------
A little help:
Command: /tracephone
Check for paramter "Number"
Loop through all online players for person with same phone number as param
Find player with same number (Or return "Nobody with that number online")
Check if they are on the phone
If they are on the phone, set a variable like ListeningTo[playerid] to the ID of the target
Then your call function (Wherever they talk on the phone)
Check all online players for anybody with a ListeningTo[playerid] of the ID of the person talking on the phone, and if so, send a copy of what they say to the person listening

And I need this, it is kinda urgent, so, plz if someone can do it. Put it on paste bin or send it on my PM.
ZCMD or if strcmd doesn't matter. I just need that command


Re: /tracephone command - ProgreSS - 25.10.2011

Off-Topic: Sry if it's in the wrong board, but I couldn't find the "Request Threads".


Re: /tracephone command - Biesmen - 25.10.2011

0ff-topic
Wow, it's a sticky in this board
https://sampforum.blast.hk/showthread.php?tid=187229


Re: /tracephone command - ProgreSS - 25.10.2011

Ok, ty, Lock this up plz.