911 Dialog makes the server crash[+REP]
#1

DELETE
Reply
#2

The only thing I can think of that it could be the CMD which uses this dialog, try re-searching if it's the cmd, I am sorry if it's not that.
Reply
#3

It only does it when the input is a certain length? Do some debugging and figure out the length at which it crashes
Reply
#4

nice im rp script sir haha noob stop using fake IMs script
Reply
#5

Quote:
Originally Posted by Golden96
Посмотреть сообщение
It only does it when the input is a certain length? Do some debugging and figure out the length at which it crashes
Quote:
Originally Posted by saffierr
Посмотреть сообщение
The only thing I can think of that it could be the CMD which uses this dialog, try re-searching if it's the cmd, I am sorry if it's not that.
It's not a certain length. It occurs when it exceeds a certain length. As the string must be extremely long, I find it merly impossible to find a certain length.
Reply
#6

Well you need to max the inputtext to 128 characters anyway since you cannot SendClientMessage >128 characters so cap the inputtext to that and see if that fixes it.

ie

PHP код:
if(strlen(inputtext) > 128) return SendClientMessage(playerid, -1"blabla max 128 char"); 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)