28.07.2013, 19:04
Ah, there you have the problem ;)
The CMD:something codes have to be placed outside any callback.
Example:
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 :)
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()
{
}
I hope this clarified things a little :)