|
|
#1 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Sep 2009
Posts: 2,094
Reputation: 175
|
Hello everybody,
I had this command working perfectly before .. I did alot of changes which I cannot revert anymore and now ONLY this command gives SERVER: Unknown Command like it did not exist. pawn Code:
I hope you can tell me why it gives that. And I would appreciate no critices about perfomance that's not my query. |
|
|
|
|
|
#2 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Oct 2011
Posts: 1,053
Reputation: 190
|
EDIT: Never mind, just saw you wrote "ONE"
|
|
|
|
|
|
#3 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Sep 2009
Posts: 2,094
Reputation: 175
|
bump
|
|
|
|
|
|
#4 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Dec 2009
Posts: 921
Reputation: 96
|
PlayerInfo[playerid][Ratio] = PlayerInfo[playerid][Kills] / PlayerInfo[playerid][Deaths];
Watch over there for the ratio. There is a mathematical problem. If Death == 0 then it can't be processed. Why ? Because anynumber/0 can't be calculated. You can't divide by 0. I had such a problem with my stats textdraw. |
|
|
|
|
|
#5 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Sep 2010
Location: Canada
Posts: 1,077
Reputation: 63
|
Something inside of your command could probably be causing it to return Unknown Command.
Try printing every line ? |
|
|
|
|
|
#6 |
|
Godfather
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2011
Location: England
Posts: 5,263
Reputation: 748
|
|
|
|
|
|
|
#7 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Feb 2011
Location: Brazil
Posts: 1,535
Reputation: 132
|
pawn Code:
i cant see nothing wrong but try this way |
|
|
|
|
|
#8 | |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Dec 2009
Posts: 921
Reputation: 96
|
Quote:
|
|
|
|
|
|
|
#9 |
|
Godfather
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2011
Location: England
Posts: 5,263
Reputation: 748
|
The link works fine now, try again.
|
|
|
|
|
|
#10 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Dec 2009
Posts: 921
Reputation: 96
|
Yes it works now, sorry ^^
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| all commands in my GM and FS's including Npc record script returning ERROR UNKNOWN COMMAND | Zonoya | Scripting Help | 4 | 23/10/2011 08:59 PM |
| all commands in one FS returning ERROR:Unknown Command | Zonoya | Scripting Help | 18 | 01/10/2011 10:04 PM |
| Returning unknown command. | Fat | Scripting Help | 19 | 21/09/2011 07:44 AM |
| SERVER: Unknown Command when using a scripted command and it does execute! | Moustafa | Help Archive | 6 | 11/06/2010 01:34 PM |
| 2 Commands returning "SERVER: Unknown command" | _Vortex | Help Archive | 6 | 08/01/2010 07:38 PM |