Can someone help me through this /me
#4

Ah, there you have the problem ;)
The CMD:something codes have to be placed outside any callback.

Example:
pawn Код:
#include <a_samp>
//your includes


public OnGameModeInit() //this is a callback
{

}

CMD:somecommand(playerid,params[])
{
//contents
}

public SomeOtherCallback()
{

}
As you can see, the CMD code is placed outside the callbacks, which means outside of any brackets ( '{' and '}')
I hope this clarified things a little :)
Reply


Messages In This Thread
Can someone help me through this /me - by Izutah - 28.07.2013, 18:34
Re: Can someone help me through this /me - by Jstylezzz - 28.07.2013, 18:48
Re: Can someone help me through this /me - by Izutah - 28.07.2013, 18:59
Re: Can someone help me through this /me - by Jstylezzz - 28.07.2013, 19:04
Re: Can someone help me through this /me - by Izutah - 28.07.2013, 19:49

Forum Jump:


Users browsing this thread: 1 Guest(s)