05.02.2008, 16:48
[anchor=top]Cellphone Script
It's a filterscript that enable's you to use a cellphone.
This is my third filterscript i ever created.
So it can have some little bugs (test results came out fine)
Content:
_________________________________________________
All Versions
[b]/SMS <number> <text>[b]
With this command you can send a text message to the given number.
/pb, /phonebook
You get a list of phone numbers of all players.
/mpn, /myphonenumber
Shows your current telephone number
/ph, /phonehelp
See a list of all the commands in this filterscript
/pc, /phonecredits
See the credits of this filterscript Please don't remove
0.4 or Higher
/call <number>
Call a specified number
/pickup
Pickup the phone
/hangup
Hangup the phone
[anchor=info]Information
_________________________________________________
V 6.0 pastebin
V 5.0 pastebin
V 4.0 pastebin
V 3.0 pastebin
V 2.0 pastebin
V 1.0 pastebin
[anchor=edits]Edits
_________________________________________________
Only V5.0:
You can disable Save support by setting #define Save to 0.
All Versions:
You can change the cost of a SMS, change #define txtcost 1 to #define txtcost [price], and change price with your price
[anchor=saving]Saving
_________________________________________________
If Saving is enabled, it's saves your number to a file named "playername.txt" where name is the playername.
[anchor=log]Change log
_________________________________________________
V6.0
Changed the text color when you chat, it's now the default sa-mp color.
Fixed bugs reported by Rizard:
- /pickup does not have an animation
- SMS Showing the recievers name at the reciever.
Changed /phonehelp and /pc to show the new commands too (/pickup, /call, /hangup)
V5.0:
Fixed bugs reported by Rizard:
- Phone book showing 1 player,
- Bug in /phonebook and in /pb showing invalid number
Added save support
Changed Number Check, It's now checks on connect, not in a callback anymore
V4.0:
/call, /pickup and /hangup added
V3.0:
Animations added
V2.0:
Check added so nobody can have the same phone number
Some unused callbacks deleted
V1.0:
First public release
[anchor=other]Other Things
_________________________________________________
It's a filterscript that enable's you to use a cellphone.
This is my third filterscript i ever created.
So it can have some little bugs (test results came out fine)
Content:
- [iurl=#commands]Commands[/iurl]
- [iurl=#info]Infomation[/iurl]
- [iurl=#download]Download[/iurl]
- [iurl=#edits]Edits[/iurl]
- [iurl=#saving]Saving[/iurl]
- [iurl=#log]Change Log[/iurl]
- [iurl=#other]Other Things[/iurl]
_________________________________________________
All Versions
[b]/SMS <number> <text>[b]
With this command you can send a text message to the given number.
/pb, /phonebook
You get a list of phone numbers of all players.
/mpn, /myphonenumber
Shows your current telephone number
/ph, /phonehelp
See a list of all the commands in this filterscript
/pc, /phonecredits
See the credits of this filterscript Please don't remove
0.4 or Higher
/call <number>
Call a specified number
/pickup
Pickup the phone
/hangup
Hangup the phone
[anchor=info]Information
_________________________________________________
- If the player connect then he gets a random phone number between 1000 and the 10000
- If the player sends a message then all other players get "name: text (number)"
Name The name of the player
Text The text the player send
Number The phone number of the player - If the player sends a privmsg the target gets the message "*** pm from sendername : text (number)"
Sendername The name of the sender
Text The text that the player has typed in after /pm
Number The phone number of the sender
V 6.0 pastebin
V 5.0 pastebin
V 4.0 pastebin
V 3.0 pastebin
V 2.0 pastebin
V 1.0 pastebin
[anchor=edits]Edits
_________________________________________________
Only V5.0:
You can disable Save support by setting #define Save to 0.
All Versions:
You can change the cost of a SMS, change #define txtcost 1 to #define txtcost [price], and change price with your price
[anchor=saving]Saving
_________________________________________________
If Saving is enabled, it's saves your number to a file named "playername.txt" where name is the playername.
[anchor=log]Change log
_________________________________________________
V6.0
Changed the text color when you chat, it's now the default sa-mp color.
Fixed bugs reported by Rizard:
- /pickup does not have an animation
- SMS Showing the recievers name at the reciever.
Changed /phonehelp and /pc to show the new commands too (/pickup, /call, /hangup)
V5.0:
Fixed bugs reported by Rizard:
- Phone book showing 1 player,
- Bug in /phonebook and in /pb showing invalid number
Added save support
Changed Number Check, It's now checks on connect, not in a callback anymore
V4.0:
/call, /pickup and /hangup added
V3.0:
Animations added
V2.0:
Check added so nobody can have the same phone number
Some unused callbacks deleted
V1.0:
First public release
[anchor=other]Other Things
_________________________________________________
- Please don’t delete credits
- Please report bugs
- I'm dutch so English is not my first language