27.01.2011, 17:31
Place your ZCMD commands outside everything else - This means, don't place them in callbacks/functions.
Reading the ZCMD topic can give you some tips and tricks.
pawn Код:
//Example
public OnPlayerSpawn( playerid )
{
print( "hi" );
return 1;
}
COMMAND:sayhi( playerid, params[ ] )
{
print( "This is my first example command of ZCMD." );
return 1;
}