On INIT twice, but on cmd once !
#4

Unknown command does not mean the command is broken, it means that you do not return a value in the command, which means it goes to the end of the OnPlayerCommandText function and hits your return 0, which tells the SA-MP client to send that default Unknown Command message. To fix this you should at a return 1; at the very end of the command. Also like I said, you need to move the ShowPlayerDialog function out of the loop. My posts have to be read in full to understand them, and if you don't understand, please say so, otherwise the help I'm providing is useless!
Reply


Messages In This Thread
On INIT twice, but on cmd once ! - by blackwave - 01.03.2011, 20:57
Re: On INIT twice, but on cmd once ! - by JaTochNietDan - 01.03.2011, 21:02
Re: On INIT twice, but on cmd once ! - by blackwave - 01.03.2011, 21:06
Re: On INIT twice, but on cmd once ! - by JaTochNietDan - 01.03.2011, 21:07
Re: On INIT twice, but on cmd once ! - by blackwave - 01.03.2011, 21:15
Re: On INIT twice, but on cmd once ! - by blackwave - 02.03.2011, 20:09

Forum Jump:


Users browsing this thread: 1 Guest(s)