Part of name 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: Part of name system (
/showthread.php?tid=162112)
Part of name system -
Rolyy - 22.07.2010
Currently all I have is a ID system
Example:
I want to PM id 0
When I want to PM someone, I must put /pm [ID] [message]..
But I also want a "part of name system"
Example:
I want to PM "dogfisher"
I want it also working like this; /pm [dogfi] [message] or /pm [dogfisher] [message]
Re: Part of name system -
Billy_Macan - 22.07.2010
Why would you have [dogfisher] and not /pm dog test message
Re: Part of name system -
Joe_ - 22.07.2010
The []'s are just to seperate parameters.
Ingame it would be like: /pm dogfisher hello
Search SSCANF, It supports part of name, name, connection check, it's fast (plugin), and can do all kinds of things such as Deliminators (Learnt that from a friend lol, you should actually READ what it has to offer, it's quite intresting)
Re: Part of name system -
Rolyy - 22.07.2010
Quote:
Originally Posted by Billy_Macan
Why would you have [dogfisher] and not /pm dog test message 
|
Doesnt it says "Example" Above the text..?