MySQL + Cellphone System. - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: MySQL + Cellphone System. (
/showthread.php?tid=115500)
MySQL + Cellphone System. -
Martin_M - 24.12.2009
Hey guys.
Look. I'm creating new unique RP script. It's on MySQL. I have field in it "PhoneNumber".
I'm searching and thinking about it alot, but no results.
My /call command is dcmd + sscanf. Can you show me example how to make
Because i couldn't to find out how to.
Thanks,
Re: MySQL + Cellphone System. -
woot - 24.12.2009
Loop through all the players, if their variable PhoneNumber is the same one as the parameter, then tell him his phone is ringing. The rest you should be able to do yourself.