Commands donīt working

02/28/2010 00:26 plfplf#1
Hello all my Commands donīt working on Source 5165 :( (/life /hp /tc /allskills....) i have all add to Chat.cs no command working why? What can i do plz Help me

Thanks!
02/28/2010 01:04 ph03nixx#2
Well u can download ā diferent source or try addin the code diferently
02/28/2010 01:11 Øblivion#3
Quote:
Originally Posted by plfplf View Post
Hello all my Commands donīt working on Source 5165 :( (/life /hp /tc /allskills....) i have all add to Chat.cs no command working why? What can i do plz Help me

Thanks!
Where these commands allready in the source or did you add them your self?
If you added them make sure you build then debug
02/28/2010 01:52 plfplf#4
Yas i have add the command self. But how can i make a build a debug ?
02/28/2010 02:09 Decker_#5
Quote:
Originally Posted by Øblivion View Post
Where these commands allready in the source or did you add them your self?
If you added them make sure you build then debug
I hope you weren't serious.
No, they are not already in there.
Unless he is using a edited source.
02/28/2010 02:28 Øblivion#6
Quote:
Originally Posted by Decker_ View Post
I hope you weren't serious.
No, they are not already in there.
Unless he is using a edited source.
I have yet to download this 5165 source so i wouldent know if they where in there allready
02/28/2010 02:34 xScott#7
post the code for the commands, maybe you did something wrong
02/28/2010 03:12 plfplf#8
No i donīt have something wrong... On the first Source working all Npcs but not all Commands and on the second Source working all commands but not all Npcs i donīt understand that Here is the Command :

if (Cmd[0] == "/tc")
{
GC.MyChar.Teleport(1002, 429, 378);
}
if (Cmd[0] == "/pc")
{
GC.MyChar.Teleport(1011, 232, 260);
}
if (Cmd[0] == "/bi")
{
GC.MyChar.Teleport(1015, 717, 576);
}
if (Cmd[0] == "/des")
{
GC.MyChar.Teleport(1000, 499, 650);
}
if (Cmd[0] == "/am")
{
GC.MyChar.Teleport(1020, 567, 568);
}
if (Cmd[0] == "/gwp")
{
GC.MyChar.Teleport(1038, 088, 102);
}
if (Cmd[0] == "/jail")
{
GC.MyChar.Teleport(6000, 032, 072);
}

...... here is the link for all: [Only registered and activated users can see links. Click Here To Register...]
02/28/2010 03:14 Øblivion#9
Quote:
Originally Posted by plfplf View Post
No i donīt have something wrong... On the first Source working all Npcs but not all Commands and on the second Source working all commands but not all Npcs i donīt understand that Here is the Command :

if (Cmd[0] == "/tc")
{
GC.MyChar.Teleport(1002, 429, 378);
}
if (Cmd[0] == "/pc")
{
GC.MyChar.Teleport(1011, 232, 260);
}
if (Cmd[0] == "/bi")
{
GC.MyChar.Teleport(1015, 717, 576);
}
if (Cmd[0] == "/des")
{
GC.MyChar.Teleport(1000, 499, 650);
}
if (Cmd[0] == "/am")
{
GC.MyChar.Teleport(1020, 567, 568);
}
if (Cmd[0] == "/gwp")
{
GC.MyChar.Teleport(1038, 088, 102);
}
if (Cmd[0] == "/jail")
{
GC.MyChar.Teleport(6000, 032, 072);
}

...... here is the link for all: [Only registered and activated users can see links. Click Here To Register...]

Click the little build button up top then the debug button
And tada you fixed it...
02/28/2010 03:32 plfplf#10
OKay... but were is the build button and the debug button ??
02/28/2010 03:33 Øblivion#11
Quote:
Originally Posted by plfplf View Post
OKay... but were is the build button and the debug button ??
:facepalm:
02/28/2010 03:43 plfplf#12
Yaeh sry for the question but can u say me this plz
02/28/2010 03:56 [GM]#13
just press f6 then f5
02/28/2010 03:59 plfplf#14
press f5 and f6 in the CMD console?
02/28/2010 04:01 Decker_#15
Quote:
Originally Posted by plfplf View Post
press f5 and f6 in the CMD console?
No...In C#