SA-MP Forums Archive
SendRconCommand is weird - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SendRconCommand is weird (/showthread.php?tid=569707)



SendRconCommand is weird - saffierr - 01.04.2015

I get an error when typing,
PHP код:
SendRconCommand 
PHP код:
C:\Users\anoll\Desktop\samp03z_svr_R1_win32\gamemodes\practice.pwn(277) : error 021symbol already defined"SendRconCommand" 
While it is not in my script... How could that be defined, if it's not in my script.


Re: SendRconCommand is weird - Sergei - 01.04.2015

What exactly are you trying to do here? SendRconCommand is native function.


Re: SendRconCommand is weird - Crayder - 01.04.2015

Quote:
Originally Posted by saffierr
Посмотреть сообщение
I get an error when typing,
PHP код:
SendRconCommand 
PHP код:
C:\Users\anoll\Desktop\samp03z_svr_R1_win32\gamemodes\practice.pwn(277) : error 021symbol already defined"SendRconCommand" 
While it is not in my script... How could that be defined, if it's not in my script.
Where are you using it?


Re: SendRconCommand is weird - saffierr - 01.04.2015

I can't use it anywhere because when I want to use it, it says, smybom is already defined...
So I am unable to use that SendRconCommand...
It's not in my script..., but it says that it's defined.


Re: SendRconCommand is weird - Crayder - 01.04.2015

Quote:
Originally Posted by saffierr
Посмотреть сообщение
I can't use it anywhere because when I want to use it, it says, smybom is already defined...
So I am unable to use that SendRconCommand...
It's not in my script..., but it says that it's defined.
The question was where are you trying to use it. If you are trying to use it outside of a body it will not work. It is possible to show us a snippet of what your trying to do?


Re: SendRconCommand is weird - saffierr - 01.04.2015

Could you explain that "body", Because I use it indeed without a body, because I don't know what a body is lol


Re: SendRconCommand is weird - Crayder - 01.04.2015

Quote:
Originally Posted by saffierr
Посмотреть сообщение
Could you explain that "body", Because I use it indeed without a body, because I don't know what a body is lol
A body, such as a callback or function.


Re: SendRconCommand is weird - saffierr - 01.04.2015

Ex.
PHP код:
SendRconCommand("gmx"); 
What should I type more on that code?


Re: SendRconCommand is weird - Crayder - 01.04.2015

Quote:
Originally Posted by saffierr
Посмотреть сообщение
Ex.
PHP код:
SendRconCommand("gmx"); 
What should I type more on that code?
That is correct, but where are you putting it...? Show us where your putting it.


Re: SendRconCommand is weird - saffierr - 01.04.2015

Why does that matter?
I just put it somewhere it's empty.