Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Threaded Mode
help counting amount of chars of a string
Reiikz
Little Clucker
Posts: 4
Threads: 2
Joined: Feb 2018
Reputation:
0
#1
06.06.2018, 21:29
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
i have that callback that i'm using but i don't know how to get the amount of chars in inputtext, i need to know how many charachters the user writen.
Find
Reply
J0sh...
Banned
Posts: 1,276
Threads: 6
Joined: Aug 2014
#2
06.06.2018, 21:31
strlen(inputtext) will return the number of characters.
Find
Reply
jasperschellekens
High-roller
Posts: 1,168
Threads: 60
Joined: Dec 2016
Reputation:
0
#3
06.06.2018, 21:31
PHP код:
strlen
(string);
https://sampwiki.blast.hk/wiki/Strlen
Please search the next time.
'samp count string characters' on a search site gives u tons of results. not that hard right?
Find
Reply
«
Next Oldest
|
Next Newest
»
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 1 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help